From c5890c020e10922c78bb95f50d16ff75d6b0366b Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Tue, 23 Mar 2021 19:20:23 +1030 Subject: [PATCH] added a couple of doShifts, steam and pavucontrol --- .xmonad/xmonad.hs | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 1cf0fb4..fbf9f73 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -394,16 +394,17 @@ myLayout = avoidStruts $ mouseResize $ windowArrange $ T.toggleLayouts floats -- To match on the WM_NAME, you can use 'title' in the same way that -- 'className' and 'resource' are used below. myManageHook = composeAll - [ className =? "Gimp" --> doFloat - , className =? "guake" --> doIgnore - , className =? "barrier" --> doFloat - , className =? "net-runelite-client-RuneLite" --> doFloat - , className =? "net-runelite-launcher-Launcher" --> doIgnore - , resource =? "desktop_window" --> doIgnore + [ className =? "Gimp" --> doFloat + , className =? "guake" --> doIgnore + , className =? "barrier" --> doFloat + , className =? "net-runelite-client-RuneLite" --> doFloat + , className =? "net-runelite-launcher-Launcher" --> doIgnore + , resource =? "desktop_window" --> doIgnore , (className =? "firefox" <&&> resource =? "Dialog") --> doFloat -- Float Firefox Dialog - , resource =? "kdesktop" --> doIgnore - , className =? "MusicBrainz Picard" --> doIgnore - , className =? "Steam" --> doFloat ] + , resource =? "kdesktop" --> doIgnore + , className =? "MusicBrainz Picard" --> doIgnore + , className =? "Steam" --> doShift ( myWorkspaces !! (7-1) ) + , className =? "Pavucontrol" --> doShift ( myWorkspaces !! (5-1) )] ------------------------------------------------------------------------ -- Event handling