forked from Shinonome/dots-hyprland
16 lines
375 B
Bash
Executable File
16 lines
375 B
Bash
Executable File
#!/usr/bin/bash
|
|
cd ~/.config/eww || exit
|
|
|
|
state=$(eww get rev_wintaskview)
|
|
|
|
if [[ "$state" == "true" || "$1" == "--close" ]]; then
|
|
eww update anim_open_wintaskview=false
|
|
eww update rev_wintaskview=false
|
|
sleep 0.1
|
|
eww close wintaskview 2>/dev/null
|
|
else
|
|
eww update anim_open_wintaskview=true
|
|
eww open wintaskview
|
|
eww update rev_wintaskview=true
|
|
fi
|