Add notifications to waybar
This commit is contained in:
parent
09462429f8
commit
f23ff2d7aa
2 changed files with 30 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
||||||
"wireplumber",
|
"wireplumber",
|
||||||
"network",
|
"network",
|
||||||
"hyprland/language",
|
"hyprland/language",
|
||||||
|
"custom/notifications",
|
||||||
"custom/power"
|
"custom/power"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@ -59,7 +60,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"network": {
|
"network": {
|
||||||
"format-wifi": " {essid}",
|
"format-wifi": " {essid}",
|
||||||
"format-ethernet": " Wired",
|
"format-ethernet": " Wired",
|
||||||
"on-click": "kitty -e nmtui"
|
"on-click": "kitty -e nmtui"
|
||||||
},
|
},
|
||||||
|
@ -71,6 +72,33 @@
|
||||||
"interval": 60
|
"interval": 60
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"custom/notifications2": {
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "swaync-client -t",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/notifications": {
|
||||||
|
"tooltip": false,
|
||||||
|
"format": "{} {icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"notification": "",
|
||||||
|
"none": "",
|
||||||
|
"dnd-notification": " ",
|
||||||
|
"dnd-none": "",
|
||||||
|
"inhibited-notification": " ",
|
||||||
|
"inhibited-none": "",
|
||||||
|
"dnd-inhibited-notification": " ",
|
||||||
|
"dnd-inhibited-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
|
||||||
|
},
|
||||||
|
|
||||||
"custom/power": {
|
"custom/power": {
|
||||||
"format": " ⏻ ",
|
"format": " ⏻ ",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
|
|
|
@ -57,6 +57,7 @@ window#waybar {
|
||||||
background: #C1B3BB;
|
background: #C1B3BB;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-notifications,
|
||||||
#custom-menu,
|
#custom-menu,
|
||||||
#clock,
|
#clock,
|
||||||
#hyprland-window,
|
#hyprland-window,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue