feat(eww/swaync): make notif-panel same as qs toggle
This commit is contained in:
parent
e9d11f4a7e
commit
a85e6f071c
7 changed files with 56 additions and 20 deletions
config/eww/scripts
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue