From 781126d67bfadd595dd1789dc9e49ecb7cfa619f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 11 Jan 2022 16:04:49 +0100 Subject: gkleen@sif: weechat --- accounts/gkleen@sif/default.nix | 1 + accounts/gkleen@sif/xmonad/xmonad.hs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 52d6c29e..6599b5fa 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -281,6 +281,7 @@ in { xmonad worktime fira-code-symbols emacsclientDesktopItem libreoffice xournalpp wrappedChrome nixos-shell virt-viewer freerdp gnome-icon-theme paper-icon-theme sshpassSecret + weechat ]; file = { diff --git a/accounts/gkleen@sif/xmonad/xmonad.hs b/accounts/gkleen@sif/xmonad/xmonad.hs index 3ba38f06..9e8af247 100644 --- a/accounts/gkleen@sif/xmonad/xmonad.hs +++ b/accounts/gkleen@sif/xmonad/xmonad.hs @@ -183,6 +183,7 @@ hostFromName h , assign "mpv" $ stringProperty "WM_WINDOW_ROLE" =? "presentation" , assign "read" $ stringProperty "WM_WINDOW_ROLE" =? "presenter" , assign "mpv" $ className =? "factorio" + , assign "mpv" $ (className =? "Alacritty" <&&> resource =? "twitch") , assign "web" $ className =? "chromium-browser" , assign "web" $ className =? "Google-chrome" , assign "work" $ (appName =? "Devtools" <&&> className =? "Firefox") @@ -194,7 +195,7 @@ hostFromName h , assign "media" $ (className =? "Alacritty" <&&> resource =? "media") , assign "monitor" $ className =? "Grafana" , assign "monitor" $ className =? "Virt-viewer" - , assign "monitor" $ className =? "monitor" + , assign "monitor" $ (className =? "Alacritty" <&&> resource =? "htop") , Just $ (className =? "Alacritty" <&&> resource =? "htop") -?> centerFloat , Just $ (className =? "Scp-dbus-service.py") -?> centerFloat , Just $ (className =? "Alacritty" <&&> resource =? "log") -?> centerFloat -- cgit v1.2.3