Started work on adding reminders.

This commit is contained in:
Storm Dragon 2023-09-19 21:45:00 -04:00
parent 19d201ecf4
commit 15bf470616
2 changed files with 4 additions and 0 deletions

View File

@ -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

3
i38.sh
View File

@ -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'