dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit 0fae2ce2cfc8e79a4c650e6156576b1bfbce0fd6
parent c79457625f695c5d99625ecca2f3796df1350705
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 30 Jul 2018 22:14:03 -0400

Merge pull request #81 from ExploXd/ExploXd-patch-1

Add notify-send in crontog
Diffstat:
M.scripts/crontog | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.scripts/crontog b/.scripts/crontog @@ -1,5 +1,5 @@ #!/bin/bash # Toggles all cronjobs off/on. -# Stores disabled crontabs in ~/.cronsaved until restored. +# Stores disabled crontabs in ~/.consaved until restored. -([[ -f ~/.cronsaved ]] && cat ~/.cronsaved | crontab - && rm ~/.cronsaved && echo cronjobs re-enabled.) || ( crontab -l > ~/.cronsaved && crontab -r && echo cronjobs saved and disabled. ) +([[ -f ~/.cronsaved ]] && cat ~/.cronsaved | crontab - && rm ~/.cronsaved && notify-send "Cronjobs have been re-enabled." && echo cronjobs re-enabled.) || ( crontab -l > ~/.cronsaved && crontab -r && echo cronjobs saved and disabled.;notify-send "Cronjobs have been saved and disabled.")