add swaync to waybar
This commit is contained in:
parent
63d62707d3
commit
7b0cbbca9c
2 changed files with 27 additions and 2 deletions
|
@ -31,6 +31,7 @@
|
||||||
"battery",
|
"battery",
|
||||||
"battery#bat2",
|
"battery#bat2",
|
||||||
"tray",
|
"tray",
|
||||||
|
"custom/notification",
|
||||||
"custom/wvkbd"
|
"custom/wvkbd"
|
||||||
],
|
],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
|
@ -255,5 +256,25 @@
|
||||||
"default": ""
|
"default": ""
|
||||||
},
|
},
|
||||||
"on-click": "pkill --signal SIGRTMIN wvkbd-mobintl"
|
"on-click": "pkill --signal SIGRTMIN wvkbd-mobintl"
|
||||||
|
},
|
||||||
|
"custom/notification": {
|
||||||
|
"tooltip": false,
|
||||||
|
"format": "{} {icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"none": "",
|
||||||
|
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"dnd-none": "",
|
||||||
|
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"inhibited-none": "",
|
||||||
|
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||||
|
"dnd-inhibited-none": ""
|
||||||
|
},
|
||||||
|
"return-type": "json",
|
||||||
|
"exec-if": "which swaync-client",
|
||||||
|
"exec": "swaync-client -swb",
|
||||||
|
"on-click": "swaync-client -t -sw",
|
||||||
|
"on-click-right": "swaync-client -d -sw",
|
||||||
|
"escape": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,9 +26,11 @@ window#waybar.solo {
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
window#waybar.termite {
|
window#waybar.termite {
|
||||||
background-color: #3F3F3F;
|
background-color: #3F3F3F;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
window#waybar.chromium {
|
window#waybar.chromium {
|
||||||
background-color: #000000;
|
background-color: #000000;
|
||||||
|
@ -93,6 +95,7 @@ button:hover {
|
||||||
#custom-wl-gammarelay-gamma,
|
#custom-wl-gammarelay-gamma,
|
||||||
#custom-events,
|
#custom-events,
|
||||||
#custom-wvkbd,
|
#custom-wvkbd,
|
||||||
|
#custom-notification,
|
||||||
#mpd {
|
#mpd {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -168,7 +171,8 @@ label:focus {
|
||||||
background-color: #90b1b1;
|
background-color: #90b1b1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-wvkbd {
|
#custom-wvkbd,
|
||||||
|
#custom-notification {
|
||||||
background-color: #2980b9;
|
background-color: #2980b9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue