Add timers for notifications in new services dir
This commit is contained in:
parent
364da18441
commit
fd6a627c11
4 changed files with 60 additions and 0 deletions
5
services/timers/scripts/notify-time.sh
Executable file
5
services/timers/scripts/notify-time.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
export DISPLAY=":0"
|
||||
export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
|
||||
/home/pan/.nix-profile/bin/notify-send "$(/run/current-system/sw/bin/date +%H:%M)" -t $1
|
||||
Loading…
Add table
Add a link
Reference in a new issue