swaync: add sway notification daemon

This commit is contained in:
Nico 2025-05-03 16:15:58 +10:00
parent 50efff9a51
commit 92d15bc25b
5 changed files with 376 additions and 7 deletions

View file

@ -38,7 +38,7 @@
"backlight",
"battery",
"network",
"custom/power"
"custom/swaync"
],
// Modules configuration
@ -180,9 +180,9 @@
"on-click": "helvum",
"format-icons": ["", "", ""]
},
"custom/power": {
"format": "",
"on-click": "poweroff", // just dont accidentally press this..
"custom/swaync": {
"format": "",
"on-click": "swaync-client -t",
"tooltip": false
}
}

View file

@ -115,7 +115,7 @@ window#waybar {
#pulseaudio,
#mode,
#tray,
#custom-power,
#custom-swaync,
#custom-pacman,
#custom-media,
#mpd {
@ -284,7 +284,7 @@ window#waybar {
}
#custom-media,
#custom-power {}
#custom-swaync {}
#custom-media{
background-color: @red;
@ -294,7 +294,7 @@ window#waybar {
margin-left: 15px;
}
#custom-power {
#custom-swaync {
color: @background;
background-color: @red;
border-radius: 10px;