dotfiles/eww/scripts/toggle_sidebar.sh
2022-05-22 15:32:36 -04:00

10 lines
179 B
Bash
Executable file

#!/usr/bin/bash
REV=$(eww get sidebar_rev)
if [[ $REV == 'false' ]]; then
eww open sidebar
eww update sidebar_rev=true
else
eww close sidebar
eww update sidebar_rev=false
fi