Created
February 25, 2020 10:46
-
-
Save theruziev/cc235dc328454e97df35206991d5c31e to your computer and use it in GitHub Desktop.
Cron for eyes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
eval "export $(egrep -z DBUS_SESSION_BUS_ADDRESS /proc/$(pgrep -u $LOGNAME gnome-session)/environ)"; | |
#Code: | |
DISPLAY=:0 notify-send "Wink wink" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
eval "export $(egrep -z DBUS_SESSION_BUS_ADDRESS /proc/$(pgrep -u $LOGNAME gnome-session)/environ)"; | |
#Code: | |
DISPLAY=:0 notify-send "Break" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*/20 * * * * /home/theruziev/20min.sh | |
*/45 * * * * /home/theruziev/45min.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment