mirror of
https://github.com/xsghetti/HyprCrux.git
synced 2025-07-03 22:00:38 -04:00
updates
This commit is contained in:
parent
1f8cb3c145
commit
610604e80f
253 changed files with 27055 additions and 44 deletions
25
.config/ags/old/modules/bar/ScreenCorners.js
Normal file
25
.config/ags/old/modules/bar/ScreenCorners.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
import options from "../../options.js"
|
||||
|
||||
const { corners } = options.bar
|
||||
|
||||
export default (monitor) => Widget.Window({
|
||||
monitor,
|
||||
name: `corner${monitor}`,
|
||||
class_name: "screen-corner",
|
||||
anchor: ["top", "bottom", "right", "left"],
|
||||
click_through: true,
|
||||
child: Widget.Box({
|
||||
class_name: "shadow",
|
||||
child: Widget.Box({
|
||||
class_name: "border",
|
||||
expand: true,
|
||||
child: Widget.Box({
|
||||
class_name: "corner",
|
||||
expand: true,
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
setup: self => {
|
||||
self.toggleClassName("corners", corners)
|
||||
},
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue