diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-11 16:09:36 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-11 16:09:36 +0100 |
commit | c61f627739906600bc542a7b701ba69648e2be4f (patch) | |
tree | b8fe52a465a285095d95b78d96dbaa7a99e1faf8 /accounts/gkleen@sif/xmonad | |
parent | 781126d67bfadd595dd1789dc9e49ecb7cfa619f (diff) | |
download | nixos-c61f627739906600bc542a7b701ba69648e2be4f.tar nixos-c61f627739906600bc542a7b701ba69648e2be4f.tar.gz nixos-c61f627739906600bc542a7b701ba69648e2be4f.tar.bz2 nixos-c61f627739906600bc542a7b701ba69648e2be4f.tar.xz nixos-c61f627739906600bc542a7b701ba69648e2be4f.zip |
...
Diffstat (limited to 'accounts/gkleen@sif/xmonad')
-rw-r--r-- | accounts/gkleen@sif/xmonad/xmonad.hs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
179 | hostFromName h | 179 | hostFromName h |
180 | | h `elem` ["hel", "sif"] = defaultHost { hName = h | 180 | | h `elem` ["hel", "sif"] = defaultHost { hName = h |
181 | , hManageHook = namedScratchpadManageHook scratchpads <+> composeOne (catMaybes | 181 | , hManageHook = namedScratchpadManageHook scratchpads <+> composeOne (catMaybes |
182 | [ assign "mpv" $ className =? "mpv" | 182 | [ assign "work" $ className =? "Alacritty" |
183 | , assign "mpv" $ className =? "mpv" | ||
183 | , assign "mpv" $ stringProperty "WM_WINDOW_ROLE" =? "presentation" | 184 | , assign "mpv" $ stringProperty "WM_WINDOW_ROLE" =? "presentation" |
184 | , assign "read" $ stringProperty "WM_WINDOW_ROLE" =? "presenter" | 185 | , assign "read" $ stringProperty "WM_WINDOW_ROLE" =? "presenter" |
185 | , assign "mpv" $ className =? "factorio" | 186 | , assign "mpv" $ className =? "factorio" |
@@ -199,7 +200,6 @@ hostFromName h | |||
199 | , Just $ (className =? "Alacritty" <&&> resource =? "htop") -?> centerFloat | 200 | , Just $ (className =? "Alacritty" <&&> resource =? "htop") -?> centerFloat |
200 | , Just $ (className =? "Scp-dbus-service.py") -?> centerFloat | 201 | , Just $ (className =? "Scp-dbus-service.py") -?> centerFloat |
201 | , Just $ (className =? "Alacritty" <&&> resource =? "log") -?> centerFloat | 202 | , Just $ (className =? "Alacritty" <&&> resource =? "log") -?> centerFloat |
202 | , assign "work" $ className =? "Alacritty" | ||
203 | , Just $ (appName =? "Edit with Emacs FRAME") -?> centerFloat | 203 | , Just $ (appName =? "Edit with Emacs FRAME") -?> centerFloat |
204 | , assign' ["work", "uni"] $ (className =? "Emacs" <&&> appName /=? "Edit with Emacs FRAME") | 204 | , assign' ["work", "uni"] $ (className =? "Emacs" <&&> appName /=? "Edit with Emacs FRAME") |
205 | , assign' ["work", "uni"] $ className =? "jetbrains-idea-ce" | 205 | , assign' ["work", "uni"] $ className =? "jetbrains-idea-ce" |