dotfiles/home-manager/modules/xmonad/scripts/xmonad-reload.sh

10 lines
191 B
Bash
Raw Normal View History

notify-send -t 5000 "recompiling xmonad"
if xmonad --recompile
then
notify-send -t 5000 "compilation succeeded"
xmonad --restart
else
notify-send -t 5000 "compilation failed"
fi