1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2025-01-24 09:46:42 +00:00
Dotfiles/home/scripts/.local/scripts/eww-toggl
2021-04-11 02:39:28 +03:00

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;