|
|
@ -7,9 +7,10 @@ import XMonad.Layout.NoBorders (smartBorders)
|
|
7
|
7
|
import XMonad.Layout.Fullscreen (fullscreenEventHook, fullscreenManageHook)
|
|
8
|
8
|
import XMonad.Util.Run (spawnPipe)
|
|
9
|
9
|
import XMonad.Util.EZConfig (additionalKeys)
|
|
|
10
|
import Graphics.X11.ExtraTypes.XF86
|
|
|
11
|
|
|
10
|
12
|
import System.IO (hPutStrLn)
|
|
11
|
13
|
import Data.IORef.MonadIO (newIORef, readIORef, modifyIORef)
|
|
12
|
|
|
|
13
|
14
|
import Control.Monad (when)
|
|
14
|
15
|
import Data.Monoid (All (All))
|
|
15
|
16
|
import qualified XMonad.StackSet as W
|
|
|
@ -43,6 +44,11 @@ main = do
|
|
43
|
44
|
((mod4Mask, xK_b), spawnHere "chromium --allow-file-access-from-files"),
|
|
44
|
45
|
((mod4Mask .|. shiftMask, xK_b), spawnHere "chromium --incognito --allow-file-access-from-files"),
|
|
45
|
46
|
|
|
|
47
|
((0, xF86XK_AudioMute), spawn "amixer set Master toggle"),
|
|
|
48
|
((0, xF86XK_AudioLowerVolume), spawn "amixer set Master 5%-"),
|
|
|
49
|
((0, xF86XK_AudioRaiseVolume), spawn "amixer set Master 5%+"),
|
|
|
50
|
((mod4Mask .|. shiftMask, xK_m), spawnHere "quodlibet"),
|
|
|
51
|
|
|
46
|
52
|
((mod4Mask .|. shiftMask, xK_Tab), changeKbMap kbMap),
|
|
47
|
53
|
((mod4Mask .|. shiftMask, xK_l), spawn "slock"),
|
|
48
|
54
|
|