mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 12:10:42 +00:00
Merge branch 'arch' into gentoo
This commit is contained in:
commit
04f2c314c4
4 changed files with 15 additions and 3 deletions
12
root/usr/local/bin/cron-notify
Executable file
12
root/usr/local/bin/cron-notify
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
# Crontab requires DISPLAY and XDG_RUNTIME_HOME
|
||||
# to be set when running notify-send, this script
|
||||
# makes defines those to make it eaiser to send
|
||||
# notifications from crontab without cluttering it
|
||||
# It sets "Cron Notification" title, rest of the
|
||||
# arguments are passed to notfiy-send
|
||||
|
||||
XDG_RUNTIME_DIR="/run/user/$(id -u)" \
|
||||
DISPLAY=:0 \
|
||||
notify-send "Cron Notification" $@
|
||||
|
1
root/usr/local/src/z.lua
Submodule
1
root/usr/local/src/z.lua
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit a3d4f5db684ed6dfd3041e73d1d761f5fe944179
|
Loading…
Add table
Add a link
Reference in a new issue