Hyprland stuff and some new scripts
This commit is contained in:
@ -6,12 +6,13 @@
|
||||
"modules-center": ["hyprland/window"],
|
||||
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"cpu",
|
||||
"memory",
|
||||
"clock",
|
||||
"pulseaudio",
|
||||
"hyprland/language",
|
||||
"custom/notification",
|
||||
"tray",
|
||||
"custom/power"
|
||||
],
|
||||
|
||||
@ -101,5 +102,22 @@
|
||||
"suspend": "systemctl suspend",
|
||||
"hibernate": "systemctl hibernate"
|
||||
}
|
||||
},
|
||||
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><small><sup>⬤</sup></small></span>",
|
||||
"none": " ",
|
||||
"dnd-notification": "<span foreground='red'><small><sup>⬤</sup></small></span>",
|
||||
"dnd-none": " "
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "sleep 0.1 && swaync-client -t -sw",
|
||||
"on-click-right": "sleep 0.1 && swaync-client -d -sw",
|
||||
"escape": true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user