From e285300aed12cf1de78f90d992f1db874ed134e6 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 30 Nov 2015 23:11:49 +0100 Subject: 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. --- xmonad.symlink/xmonad.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xmonad.symlink/xmonad.hs') 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-", spawn "xbacklight -dec 5 -time 80") , ("M-", spawn "xbacklight -inc 5 -time 80") + , ("", spawn "amixer sset 'Master' toggle") , ("", spawn "amixer sset 'Master' 1%+") , ("", spawn "amixer sset 'Master' 1%-") , ("", spawn "sudo pm-suspend") , ("M-", nextWS) , ("M-", prevWS) , ("M-S-p", spawn "passmenu -i") + , ("M-v", spawn "uxterm -e vim") ] myLayouts = Tall 1 0.01 0.5 -- cgit v1.2.3