aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/XMonad/xmonad.hs9
-rw-r--r--.config/polybar/config18
-rw-r--r--.config/zsh/.zshenv2
-rw-r--r--.zprofile2
4 files changed, 19 insertions, 12 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"
diff --git a/.zprofile b/.zprofile
index 686481f..411595c 100644
--- a/.zprofile
+++ b/.zprofile
@@ -3,7 +3,7 @@
[[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv
startpage &
-alias startx="startx ~/.xinitrc"
+# alias startx="startx ~/.xinitrc"
alias xm="startx xmonad"
alias ob="startx openbox"