From 2bb5f62476ae965e5e4ff196d2b0ed9f15a587bc Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 3 Dec 2021 00:08:51 +0530 Subject: added nitrogen to scratchpads --- .config/XMonad/xmonad.hs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.config/XMonad') diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs index 83a9d90..2e4e1c3 100644 --- a/.config/XMonad/xmonad.hs +++ b/.config/XMonad/xmonad.hs @@ -55,6 +55,7 @@ myScratchpads = , NS "calc" "galculator" (className =? "Galculator") (customFloating $ W.RationalRect (5/13) (4/13) (3/13) (6/13)) , NS "blueman" "blueman-manager" (className =? "Blueman-manager") (customFloating $ W.RationalRect (5.5/16) (4/13) (5/16) (6/13)) , NS "pavucontrol" "pavucontrol" (className =? "Pavucontrol") (customFloating $ W.RationalRect (3/12) (1/12) (3/6) (5/6)) + , NS "wallpaper" "nitrogen" (className =? "Nitrogen") (customFloating $ W.RationalRect (3/12) (1/12) (3/6) (5/6)) , NS "BPYTOP" "alacritty -t 'BPYTOP' -e 'bpytop'" (title =? "BPYTOP") (customFloating $ W.RationalRect (1/16) (1/16) (7/8) (7/8)) ] @@ -129,6 +130,7 @@ scratchpadTS = , Node (TS.TSNode "Arandr" "" (namedScratchpadAction myScratchpads "arandr")) [] , Node (TS.TSNode "Blueman" "" (namedScratchpadAction myScratchpads "blueman")) [] , Node (TS.TSNode "Pavucontrol" "" (namedScratchpadAction myScratchpads "pavucontrol")) [] + , Node (TS.TSNode "Wallpapers" "" (namedScratchpadAction myScratchpads "nitrogen")) [] ] myScratchpadTS a = TS.treeselectAction a scratchpadTS @@ -162,7 +164,8 @@ utilTS = , Node (TS.TSNode "Arandr" "" (spawn "arandr")) [] , Node (TS.TSNode "System Monitor" "" (spawn "alacritty -e bpytop")) [] , Node (TS.TSNode "File Manager" "" (spawn "pcmanfm")) [] - , Node (TS.TSNode "Calculator" "" (spawn "kcalc")) [] + , Node (TS.TSNode "Calculator" "" (spawn "galculator")) [] + , Node (TS.TSNode "Wallpapers" "" (spawn "nitrogen")) [] ] myUtilTS a = TS.treeselectAction a utilTS @@ -205,6 +208,7 @@ main = do spawnOnce "dunst" spawnOnce "nitrogen --restore" spawnOnce "optimus-manager-qt" + spawnOnce "cbatticon" spawnOnce "xmodmap /home/zt/.Xmodmap" spawnOnce "blueman-applet" -- spawnOnce "" @@ -324,6 +328,7 @@ main = do , ("M-S-n", namedScratchpadAction myScratchpads "arandr") , ("M-u", namedScratchpadAction myScratchpads "lf") , ("M-b", namedScratchpadAction myScratchpads "blueman") + , ("M-S-r", namedScratchpadAction myScratchpads "wallpaper") -- other apps , ("M-S-u", spawn "pcmanfm") , ("M-S-b", spawn "discord") -- cgit v1.2.3