aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-07-24 21:46:50 +0200
committerAdrian Kummerlaender2018-07-24 21:46:50 +0200
commite3b89b71c10fee28ddabefb9d3c417a9d9a5fc9e (patch)
treebeb3147ecba6b05d6f38ce1509d19afd9d8fadb0
parentaffb0011166b0210165ef24a631545d9e8c2ba0d (diff)
downloadnixos_home-e3b89b71c10fee28ddabefb9d3c417a9d9a5fc9e.tar
nixos_home-e3b89b71c10fee28ddabefb9d3c417a9d9a5fc9e.tar.gz
nixos_home-e3b89b71c10fee28ddabefb9d3c417a9d9a5fc9e.tar.bz2
nixos_home-e3b89b71c10fee28ddabefb9d3c417a9d9a5fc9e.tar.lz
nixos_home-e3b89b71c10fee28ddabefb9d3c417a9d9a5fc9e.tar.xz
nixos_home-e3b89b71c10fee28ddabefb9d3c417a9d9a5fc9e.tar.zst
nixos_home-e3b89b71c10fee28ddabefb9d3c417a9d9a5fc9e.zip
Use separate profile for scratchpad firefox instance
Required to handle running multiple firefox windows of which only one is in scratchpad.
-rw-r--r--gui/conf/xmonad.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index 2a1a0fc..e26ca24 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -71,13 +71,13 @@ sideBarLeft = floatRectLeft $ 1/3
sideBarRight = floatRectRight $ 1/3
scratchpads host =
- [ NS "terminal" "kitty --class=scratchterm" (className =? "scratchterm")
+ [ NS "terminal" "kitty --class=scratchterm" (className =? "scratchterm")
(customFloating $ hideScreenBorder host dropDown)
- , NS "browser" "firefox" (className =? "Firefox")
+ , NS "browser" "firefox --no-remote -P scratchpad --class scratchfire" (className =? "scratchfire")
(customFloating $ hideScreenBorder host dropDownLarge)
- , NS "documentation" "zeal" (className =? "Zeal")
+ , NS "documentation" "zeal" (className =? "Zeal")
(customFloating $ hideScreenBorder host dropDown)
- , NS "messaging" "telegram-desktop" (className =? "TelegramDesktop")
+ , NS "messaging" "telegram-desktop" (className =? "TelegramDesktop")
(customFloating $ hideScreenBorder host sideBarRight) ]
hostSpecificKeybindings host = case host of