This commit is contained in:
end-4
2024-02-22 15:35:06 +07:00
commit 8db26e9707
4220 changed files with 208544 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/bash
state=$(eww get open_dashboard)
if [[ "$state" -gt "0" || "$1" == "--close" ]]; then
eww close dashboard
eww update open_dashboard=0
sleep 0.1
eww update cavajson=''
else
eww open dashboard
sleep 0.05
eww update open_dashboard=1
sleep 0.05
eww update open_dashboard=2
sleep 0.05
eww update open_dashboard=3
sleep 0.05
eww update open_dashboard=4
sleep 0.05
eww update open_dashboard=5
sleep 0.05
eww update open_dashboard=6
sleep 0.05
eww update open_dashboard=7
fi