aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2015-11-30 23:11:49 +0100
committerCamil Staps2016-11-30 19:11:06 +0100
commite285300aed12cf1de78f90d992f1db874ed134e6 (patch)
treed8d6c4177c1ddeb9578674b399c8a58ad901c625
parentvarious minor changes (diff)
XMonad: Vim key, mute key, explicit border width
Adds M-v as Vim key Maps the mute key to an amixer call Makes the border width (1) explicit, to be able to change it easily for example to disable it when watching a movie.
-rw-r--r--xmonad.symlink/xmonad.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmonad.symlink/xmonad.hs b/xmonad.symlink/xmonad.hs
index 9d8542d..bd3ddb5 100644
--- a/xmonad.symlink/xmonad.hs
+++ b/xmonad.symlink/xmonad.hs
@@ -13,17 +13,20 @@ main = do
, focusFollowsMouse = False
, layoutHook = myLayouts
, terminal = "uxterm"
+ , borderWidth = 1
}
`additionalKeysP` myKeys
myKeys = [ ("M-<F5>", spawn "xbacklight -dec 5 -time 80")
, ("M-<F6>", spawn "xbacklight -inc 5 -time 80")
+ , ("<XF86AudioMute>", spawn "amixer sset 'Master' toggle")
, ("<XF86AudioRaiseVolume>", spawn "amixer sset 'Master' 1%+")
, ("<XF86AudioLowerVolume>", spawn "amixer sset 'Master' 1%-")
, ("<XF86PowerOff>", spawn "sudo pm-suspend")
, ("M-<Up>", nextWS)
, ("M-<Down>", prevWS)
, ("M-S-p", spawn "passmenu -i")
+ , ("M-v", spawn "uxterm -e vim")
]
myLayouts = Tall 1 0.01 0.5