Commits

uniqx committed fc1c140

endable/disable xscreensaver shortcuts + libnotify messages

  • Participants
  • Parent commits 9ab8136

Comments (0)

Files changed (2)

 
 dependencies on a debian based system:
 
- # apt-get install gnome xmonad xscreensaver volti suckless-tools gmrun keepassx vidalia xmobar pidgin-otr
+ # apt-get install gnome xmonad xscreensaver volti suckless-tools gmrun keepassx vidalia xmobar pidgin-otr libnotify-bin
 
 
     -- lock screen
     [ ((modMask .|. shiftMask, xK_l     ), spawn "xscreensaver-command -lock")
     --[ ((modMask .|. shiftMask, xK_l     ), spawn "gnome-screensaver-command -l")
+    , ((modMask ,              xK_s     ), spawn " notify-send \"xscreensaver\" \"starting xscreensaver\" && xscreensaver -no-splash")
+    , ((modMask .|. shiftMask, xK_s     ), spawn "pkill xscreensaver; notify-send \"xscreensaver\" \"xscreensaver disabled\"")
 
     -- launch nautilus
     --, ((modMask .|. shiftMask, xK_less  ), spawn "caja --no-desktop")