diff --git a/i3/config b/i3/config index 4735a53..748aac3 100644 --- a/i3/config +++ b/i3/config @@ -153,6 +153,9 @@ mode "resize" { bindsym $mod+r mode "resize" +# Brightness keys setup +bindsym XF86MonBrightnessDown exec --no-startup-id "xbacklight -dec 5" +bindsym XF86MonBrightnessUp exec --no-startup-id "xbacklight -inc 5" # Window Cosmetic Changes gaps inner 10 @@ -163,5 +166,9 @@ client.unfocused #333333 #222222 #888888 #292d2e #eeeeee # Startup Applications exec --no-startup-id "xmodmap $HOME/.Xmodmap" -exec --no-startup-id "compton -b" exec --no-startup-id "polybar" +exec --no-startup-id "lxpolkit &" + +# Tweak keyboard and trackpad +exec --no-startup-id "synclient VertEdgeScroll=1 VertScrollDelta=-111" +exec --no-startup-id "setxkbmap -option caps:escape" diff --git a/polybar/config.ini b/polybar/config.ini index 97ed5ca..5c98ed8 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -51,7 +51,7 @@ separator-foreground = ${colors.disabled} font-0 = monospace;2 modules-left = xworkspaces xwindow -modules-right = filesystem pulseaudio memory cpu battery wlan eth date +modules-right = filesystem brightness pulseaudio memory cpu battery wlan eth date cursor-click = pointer cursor-scroll = ns-resize @@ -90,7 +90,7 @@ label = %title:0:60:...% [module/filesystem] type = internal/fs -interval = 25 +interval = 10 mount-0 = / @@ -111,6 +111,16 @@ label-volume = %percentage%% label-muted = muted label-muted-foreground = ${colors.disabled} +[module/brightness] +type = internal/backlight +card = amdgpu_bl0 + +format-prefix = "BRI " +format-prefix-foreground = ${colors.primary} +format =