diff options
author | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2021-12-02 22:23:21 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2021-12-02 22:23:21 +0530 |
commit | 625d1bda2937821e0709cc070532f05e551f0ce6 (patch) | |
tree | 2462f2e86cb9112657180ab38357810c143fdc07 /.config | |
parent | 6af06fcfe3861d3ba70f57d1ac0250171a67b06f (diff) |
removed lxsession from xmonad
Diffstat (limited to '.config')
-rw-r--r-- | .config/XMonad/xmonad.hs | 9 | ||||
-rw-r--r-- | .config/polybar/config | 18 | ||||
-rw-r--r-- | .config/zsh/.zshenv | 2 |
3 files changed, 18 insertions, 11 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 diff --git a/.config/polybar/config b/.config/polybar/config index d74effa..8ac9716 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -111,7 +111,7 @@ font-5 = siji:pixelsize=10;1 modules-left = systray-arrow date date-arrow wlan eth wifi-arrow filesystem-root fs-root-arrow filesystem-home fs-home-arrow cpu temp-arrow temperature cpu-arrow memory mem-arrow pulseaudio vol-arrow xwindow ;modules-center = xwindow -modules-right = mpd ewmh +modules-right = ewmh tray-position = right tray-padding = 2 @@ -176,7 +176,7 @@ cursor-scroll = ns-resize [module/xwindow] type = internal/xwindow -label = " %title:0:80:...%" +label = " %title:0:60:...%" label-foreground = ${colors.xwindow-fg} [module/xkeyboard] @@ -284,7 +284,7 @@ content-background = ${colors.vol-bg} [module/wlan] type = internal/network -interface = wlan0 +interface = wlo1 interval = 3.0 format-connected = <ramp-signal> <label-connected> @@ -453,19 +453,19 @@ label-active = %name% label-active-foreground = ${colors.ws-active-fg} label-active-background = ${colors.ws-active-bg} label-active-underline = ${colors.ws-active-ul} -label-active-padding = 2 +label-active-padding = 3 label-occupied = %name% label-occupied-foreground = ${colors.ws-occupied-fg} label-occupied-background = ${colors.ws-occupied-bg} label-occupied-underline = ${colors.ws-occupied-ul} -label-occupied-padding = 2 +label-occupied-padding = 3 label-empty = %name% label-empty-foreground = ${colors.ws-empty-fg} label-empty-background = ${colors.ws-empty-bg} label-empty-underline = ${colors.ws-empty-ul} -label-empty-padding = 2 +label-empty-padding = 3 label-background = #FFFFFF @@ -491,19 +491,19 @@ label-active = %name% label-active-foreground = ${colors.ws-active-fg} label-active-background = ${colors.ws-active-bg} label-active-underline = ${colors.ws-active-ul} -label-active-padding = 2 +label-active-padding = 4 label-occupied = %name% label-occupied-foreground = ${colors.ws-occupied-fg} label-occupied-background = ${colors.ws-occupied-bg} label-occupied-underline = ${colors.ws-occupied-ul} -label-occupied-padding = 2 +label-occupied-padding = 4 label-empty = %name% label-empty-foreground = ${colors.ws-empty-fg} label-empty-background = ${colors.ws-empty-bg} label-empty-underline = ${colors.ws-empty-ul} -label-empty-padding = 2 +label-empty-padding = 4 label-urgent = %name% label-urgent-foreground = #000000 diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index 34a1df5..9ae5107 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -19,4 +19,4 @@ export PATH=/home/zt/.local/flutter/bin:$PATH export QT_QPA_PLATFORMTHEME=gtk2 export ZDOTDIR="$HOME/.config/zsh" -. "$HOME/.cargo/env" +#. "$HOME/.cargo/env" |