aboutsummaryrefslogtreecommitdiff
path: root/.config/XMonad
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2021-10-17 14:14:22 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2021-10-17 14:14:22 +0530
commit44e1e4e25327970d0d81794cf082a6682a07a4c0 (patch)
treee5c50eb00a53ab7ef051f021099f37c278b98c8e /.config/XMonad
parentfd18b4c5fbbcd695e34593e4c838403d922f3df3 (diff)
adopted managehook to work with plasma
Diffstat (limited to '.config/XMonad')
-rw-r--r--.config/XMonad/xmonad.hs18
1 files changed, 12 insertions, 6 deletions
diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs
index fe20574..937f1bf 100644
--- a/.config/XMonad/xmonad.hs
+++ b/.config/XMonad/xmonad.hs
@@ -136,13 +136,19 @@ main = do
, workspaces = myWorkspaces
, normalBorderColor = "#130F23"
, focusedBorderColor = "#BF00FF"
- , layoutHook = avoidStruts $ maximize $ windowNavigation $ smartBorders $ myGap $ (
+ , layoutHook = avoidStruts $ maximize $ windowNavigation $ smartBorders $ myGap $ (
emptyBSP ||| tabbed shrinkText myTabTheme ||| emptyBSP ||| Grid)
- , manageHook = namedScratchpadManageHook myScratchpads <+> manageDocks
- , startupHook = do
- setWMName "LG3D"
- spawnOnce "sleep 2; polybar mybar"
- setDefaultCursor xC_left_ptr
+ , manageHook = namedScratchpadManageHook myScratchpads <+> manageDocks <+> composeAll
+ [ className =? "plasmashell" --> doIgnore
+ , className =? "confirm" --> doFloat
+ , className =? "file_progress" --> doFloat
+ , className =? "dialog" --> doFloat
+ , className =? "download" --> doFloat
+ , className =? "error" --> doFloat
+ , className =? "notification" --> doFloat
+ , className =? "splash" --> doFloat
+ , className =? "toolbar" --> doFloat
+ ]
} `additionalMouseBindings` [
((altMask, 2), \w -> kill1)
, ((myModMask, 4), \w -> prevWS)