Commits

Toby Davies  committed b2fc369

add generic open shortcut

  • Participants
  • Parent commits 0920ac9

Comments (0)

Files changed (2)

File .xmonad/xmonad.hs

   ("M-s", inputPrompt defaultXPConfig "Google" ?+ \t -> safeSpawn "search" [t]),
   ("M-S-s", spawn "bash -c 'search \"$(xclip -o)\"'"),
   ("M-g", spawn "sensible-browser --app=http://www.gmail.com"),
+  ("M-o", spawn "open"),
   ("M-;", focusUrgent),
   ("<XF86AudioLowerVolume>", spawn "amixer sset -- Master playback 10-"),
   ("<XF86AudioRaiseVolume>", spawn "amixer sset -- Master playback 10+"),
-  ("<XF86AudioMute>", spawn "amixer sset -- Master playback 0%")
+  ("<XF86AudioMute>", spawn "amixer sset -- Master playback 0%"),
+  ("M-<F3>", spawn "xbacklight -inc 20"),
+  ("M-<F2>", spawn "xbacklight -dec 20 ; echo foo >> foo.bar")
   ]
 
 manageHooks = [
+#!/usr/bin/zsh 
+
+gnome-open $(zenity --file-selection)