From 15bf47061680ed0947d3e1e02d72c6afe87b0f8c Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 19 Sep 2023 21:45:00 -0400 Subject: [PATCH] Started work on adding reminders. --- README.md | 1 + i38.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 01e2ba4..47413ab 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ An uppercase I looks like a 1, 3 from i3, and 8 because the song [We Are 138](ht - pamixer: for the mute-unmute script - playerctl: music controls - python-i3ipc: for sounds etc. +- remind: [optional] for reminder notifications, Requires notify-send. - sgtk-menu: for applications menu - sox: for sounds. - transfersh: [optional] for file sharing GUI diff --git a/i38.sh b/i38.sh index f0f3191..88721e7 100755 --- a/i38.sh +++ b/i38.sh @@ -614,6 +614,9 @@ fi if [[ -x "/usr/libexec/notification-daemon" ]]; then echo 'exec_always --no-startup-id /usr/libexec/notification-daemon -r' fi +if command -v remind &> /dev/null && command -v notify-send &> /dev/null ; then + echo "exec_always --no-startup-id $(command -v remind) -z '-k:notify-send %s &' ${HOME}/.reminders < /dev/null > /dev/null 2>&1 &" +fi if [[ $dex -eq 0 ]]; then echo '# Start XDG autostart .desktop files using dex. See also' echo '# https://wiki.archlinux.org/index.php/XDG_Autostart'