aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2021-12-03 00:08:51 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2021-12-03 00:08:51 +0530
commit2bb5f62476ae965e5e4ff196d2b0ed9f15a587bc (patch)
tree97c3d3ca73bd004ecfc9bb148657372ebfdfaee6 /.config
parentd0a904f955430c4fedcc9190f34ad6c63fa100c6 (diff)
added nitrogen to scratchpads
Diffstat (limited to '.config')
-rw-r--r--.config/XMonad/xmonad.hs7
1 files changed, 6 insertions, 1 deletions
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")