From e3b89b71c10fee28ddabefb9d3c417a9d9a5fc9e Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 24 Jul 2018 21:46:50 +0200 Subject: Use separate profile for scratchpad firefox instance Required to handle running multiple firefox windows of which only one is in scratchpad. --- gui/conf/xmonad.hs | 8 ++++---- 1 file 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 -- cgit v1.2.3