feat: make tablet toggle a button that actually changes when clicked
This commit is contained in:
parent
553f58e5bb
commit
22ab0ff667
7 changed files with 12 additions and 4 deletions
|
@ -7,3 +7,4 @@
|
|||
@import "actions/actions.scss";
|
||||
@import "powermenu/powermenu.scss";
|
||||
@import "dashboard/dashboard.scss";
|
||||
@import "traybuttons/traybuttons.scss";
|
||||
|
|
|
@ -4,3 +4,4 @@
|
|||
(include "powermenu/powermenu.yuck")
|
||||
(include "dashboard/dashboard.yuck")
|
||||
(include "closer/closer.yuck")
|
||||
(include "traybuttons/traybuttons.yuck")
|
||||
|
|
|
@ -10,8 +10,10 @@ do
|
|||
array[i]=${array[i]%-reveal}
|
||||
done
|
||||
|
||||
# Print the elements of the array
|
||||
# Close every window except permanent ones
|
||||
for element in "${array[@]}"
|
||||
do
|
||||
$HOME/.config/eww/scripts/close.sh "$element"
|
||||
if [[ "$element" != "tablet-toggle" ]]; then
|
||||
$HOME/.config/eww/scripts/close.sh "$element"
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -43,4 +43,4 @@
|
|||
(defpoll cpu :interval "3s" "~/.config/eww/scripts/cpu.sh")
|
||||
(defpoll ram :interval "3s" "~/.config/eww/scripts/ram.sh ram")
|
||||
(defpoll temp :interval "3s" "~/.config/eww/scripts/temp.sh get")
|
||||
(defpoll disk :interval "3s" "~/.config/eww/scripts/disk.sh")
|
||||
(defpoll disk :interval "3s" "~/.config/eww/scripts/disk.sh")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue