mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-25 09:31:34 +00:00
add eww-toggle
This commit is contained in:
parent
41956be750
commit
03ba0e17b2
11
home/scripts/.local/scripts/bin/eww-toggl
Executable file
11
home/scripts/.local/scripts/bin/eww-toggl
Executable 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;
|
Loading…
Reference in a new issue