From c61f627739906600bc542a7b701ba69648e2be4f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 11 Jan 2022 16:09:36 +0100 Subject: ... --- accounts/gkleen@sif/xmonad/xmonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accounts/gkleen@sif') diff --git a/accounts/gkleen@sif/xmonad/xmonad.hs b/accounts/gkleen@sif/xmonad/xmonad.hs index 9e8af247..96f8b23e 100644 --- a/accounts/gkleen@sif/xmonad/xmonad.hs +++ b/accounts/gkleen@sif/xmonad/xmonad.hs @@ -179,7 +179,8 @@ hostFromName h@("vali") = defaultHost { hName = h hostFromName h | h `elem` ["hel", "sif"] = defaultHost { hName = h , hManageHook = namedScratchpadManageHook scratchpads <+> composeOne (catMaybes - [ assign "mpv" $ className =? "mpv" + [ assign "work" $ className =? "Alacritty" + , assign "mpv" $ className =? "mpv" , assign "mpv" $ stringProperty "WM_WINDOW_ROLE" =? "presentation" , assign "read" $ stringProperty "WM_WINDOW_ROLE" =? "presenter" , assign "mpv" $ className =? "factorio" @@ -199,7 +200,6 @@ hostFromName h , Just $ (className =? "Alacritty" <&&> resource =? "htop") -?> centerFloat , Just $ (className =? "Scp-dbus-service.py") -?> centerFloat , Just $ (className =? "Alacritty" <&&> resource =? "log") -?> centerFloat - , assign "work" $ className =? "Alacritty" , Just $ (appName =? "Edit with Emacs FRAME") -?> centerFloat , assign' ["work", "uni"] $ (className =? "Emacs" <&&> appName /=? "Edit with Emacs FRAME") , assign' ["work", "uni"] $ className =? "jetbrains-idea-ce" -- cgit v1.2.3