mirror of
https://github.com/Horhik/dotfiles.git
synced 2025-01-24 09:46:42 +00:00
12 lines
386 B
Bash
Executable file
12 lines
386 B
Bash
Executable file
#!/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;
|