1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-12-01 10:56:37 +00:00

add eww-toggle

This commit is contained in:
horhik 2021-05-03 00:12:50 +03:00
parent 41956be750
commit 03ba0e17b2

View file

@ -0,0 +1,11 @@
#!/bin/sh
eww
mon=$(~/.config/eww/scripts/checkmonitor);
if [ $(cat /tmp/eww_open) ]; then eww open redshift --monitor $mon;
eww open player --monitor $mon;
# eww open calendar_full --monitor $mon;
rm /tmp/eww_open;
else eww close-all;
echo true > /tmp/eww_open;
fi;