summaryrefslogtreecommitdiff
path: root/lib/xmonad.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmonad.hs')
-rw-r--r--lib/xmonad.hs13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/xmonad.hs b/lib/xmonad.hs
index 75dd652..047dd83 100644
--- a/lib/xmonad.hs
+++ b/lib/xmonad.hs
@@ -23,6 +23,7 @@ import Graphics.X11.ExtraTypes.XF86
import XMonad
import XMonad.Actions.CopyWindow
import XMonad.Config
+import XMonad.Config.Desktop
import XMonad.Hooks.EwmhDesktops (ewmh)
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.ManageHelpers (doFullFloat, isFullscreen)
@@ -109,7 +110,7 @@ insKeys conf@(XConfig {modMask = modMask}) =
((modMask, xK_o), spawn "rofi -sidebar-mode -show run"),
((modMask, xK_n), spawn "rofi -sidebar-mode -show window"),
((modMask, xK_u), spawn "rofi -show calc -modi calc -no-show-match -no-sort"),
- ((modMask, xK_h), scratchpadSpawnActionTerminal transparentTerm),
+ ((modMask, xK_s), scratchpadSpawnActionTerminal transparentTerm),
((modMask .|. shiftMask, xK_p), namedScratchpadAction scratchpads "pavucontrol"),
-- ((modMask, xK_h), spawn transparentTerm),
-- refresh display via autorandr
@@ -146,9 +147,9 @@ addSpace :: l a -> ModifiedLayout Spacing l a
addSpace =
spacingRaw
False
- (Border 15 15 15 15)
+ (Border 5 5 5 5)
True
- (Border 15 15 15 15)
+ (Border 5 5 5 5)
True
myTabCfg theme =
@@ -166,8 +167,8 @@ myLayout theme =
||| (addSpace $ noBorders Full)
||| twopane
||| Mirror twopane
- -- ||| ThreeCol 1 (3 / 100) (1 / 2)
- -- ||| ThreeColMid 1 (3 / 100) (1 / 2)
+ ||| ThreeCol 1 (3 / 100) (1 / 2)
+ ||| ThreeColMid 1 (3 / 100) (1 / 2)
||| tiled
||| Mirror tiled
||| emptyBSP
@@ -191,7 +192,7 @@ myLayout theme =
myConf theme = additionalKeys cfg (insKeys cfg)
where
cfg =
- def
+ desktopConfig
{ modMask = mod4Mask, -- super instead of alt
normalBorderColor = background theme,
focusedBorderColor = highlight theme,