aboutsummaryrefslogtreecommitdiff
path: root/.config/XMonad/xmonad.hs
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2021-12-02 22:23:21 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2021-12-02 22:23:21 +0530
commit625d1bda2937821e0709cc070532f05e551f0ce6 (patch)
tree2462f2e86cb9112657180ab38357810c143fdc07 /.config/XMonad/xmonad.hs
parent6af06fcfe3861d3ba70f57d1ac0250171a67b06f (diff)
removed lxsession from xmonad
Diffstat (limited to '.config/XMonad/xmonad.hs')
-rw-r--r--.config/XMonad/xmonad.hs9
1 files changed, 8 insertions, 1 deletions
diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs
index a9702e3..c1b5ae0 100644
--- a/.config/XMonad/xmonad.hs
+++ b/.config/XMonad/xmonad.hs
@@ -200,12 +200,13 @@ main = do
emptyBSP ||| tabbed shrinkText myTabTheme ||| emptyBSP ||| Grid)
, startupHook = do
-- spawnOnce "lxsession"
- spawnOnce "polybar mybar"
+ spawnOnce "sleep 2 && polybar mybar"
spawnOnce "picom"
spawnOnce "dunst"
spawnOnce "nitrogen --restore"
spawnOnce "optimus-manager-qt"
spawnOnce "xmodmap /home/zt/.Xmodmap"
+ spawnOnce "blueman-applet"
-- spawnOnce ""
setWMName "LG3D"
setDefaultCursor xC_left_ptr
@@ -327,5 +328,11 @@ main = do
, ("M-S-u", spawn "dolphin")
, ("M-S-b", spawn "discord")
, ("M-S-i", spawn "librewolf")
+ -- fn keys
+ , ("<XF86MonBrightnessDown>", spawn "brightnessctl s 5-")
+ , ("<XF86MonBrightnessUp>", spawn "brightnessctl s +5")
+ , ("<XF86AudioLowerVolume>", spawn "pamixer -d 5")
+ , ("<XF86AudioRaiseVolume>", spawn "pamixer -i 5")
+ , ("<XF86AudioMute>", spawn "pamixer -t")
]
-- used keys: x e w o i p r t y q n b c