dotfiles/eww/scripts/toggle_sidebar.sh

11 lines
179 B
Bash
Raw Normal View History

2022-05-22 15:32:36 -04:00
#!/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