From 44e1e4e25327970d0d81794cf082a6682a07a4c0 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 17 Oct 2021 14:14:22 +0530 Subject: adopted managehook to work with plasma --- .config/XMonad/xmonad.hs | 18 ++++++++++++------ 1 file 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) -- cgit v1.2.3