feat: make tablet toggle a button that actually changes when clicked

This commit is contained in:
matt1432 2023-06-03 23:10:30 -04:00
parent 553f58e5bb
commit 22ab0ff667
7 changed files with 12 additions and 4 deletions
eww/scripts

View file

@ -10,8 +10,10 @@ do
array[i]=${array[i]%-reveal}
done
# Print the elements of the array
# Close every window except permanent ones
for element in "${array[@]}"
do
$HOME/.config/eww/scripts/close.sh "$element"
if [[ "$element" != "tablet-toggle" ]]; then
$HOME/.config/eww/scripts/close.sh "$element"
fi
done