feat(eww/swaync): make notif-panel same as qs toggle

This commit is contained in:
matt1432 2023-08-19 22:27:18 -04:00
commit a85e6f071c
7 changed files with 56 additions and 20 deletions
config/eww/scripts

View file

@ -8,7 +8,9 @@ on() {
eww open closer-notif1
eww open closer-notif2
eww open closer-notif3
eww open closer-notif4
eww close notif-panel; eww open notif-panel &&
eww update notif-panel-state=true
}
@ -20,6 +22,7 @@ off() {
eww close closer-notif1
eww close closer-notif2
eww close closer-notif3
eww close closer-notif4
}
[[ "$1" == "on" ]] && on