mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-24 01:37:30 -05:00
17 lines
421 B
Bash
Executable File
17 lines
421 B
Bash
Executable File
#!/usr/bin/bash
|
|
state=$(eww get rev_dash)
|
|
|
|
if [[ "$state" == "true" || "$1" == "--close" ]]; then
|
|
eww update anim_open_dash=false
|
|
eww update rev_dash=false
|
|
sleep 0.08
|
|
eww close dashboard
|
|
else
|
|
scripts/toggle-overview.sh --close &
|
|
scripts/toggle-osettings.sh --close &
|
|
scripts/toggle-onotify.sh --close &
|
|
eww update anim_open_dash=true
|
|
eww open dashboard
|
|
eww update rev_dash=true
|
|
fi
|