From a262f249ae37fa401ebc8a2438a3b3fc06efff45 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Fri, 27 Mar 2020 14:19:28 +0100 Subject: [PATCH] fix: polybar config spaces and bspwm scrolling --- .config/polybar/bars.ini | 12 ++++++------ .config/polybar/config | 10 +++++----- .config/polybar/modules.ini | 22 ++++++++++++---------- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/.config/polybar/bars.ini b/.config/polybar/bars.ini index 0e1af56..50fafa5 100644 --- a/.config/polybar/bars.ini +++ b/.config/polybar/bars.ini @@ -1,8 +1,8 @@ [bar/base] width = 100% height = 27 -; offset-x = 1% -; offset-y = 1% +; offset-x = 1% +; offset-y = 1% radius = 0.0 fixed-center = true bottom = true @@ -35,12 +35,12 @@ tray-padding = 2 wm-restack = bspwm -; wm-restack = i3 +; wm-restack = i3 -; override-redirect = true +; override-redirect = true - scroll-up = bspwm-desknext - scroll-down = bspwm-deskprev +; scroll-up = bspwm-desknext +; scroll-down = bspwm-deskprev cursor-click = pointer cursor-scroll = pointer diff --git a/.config/polybar/config b/.config/polybar/config index ea6aef0..f179441 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -18,11 +18,11 @@ include-file = ~/.config/polybar/custom.ini [settings] screenchange-reload = true -; compositing-background = xor -; compositing-background = screen -; compositing-foreground = source -; compositing-border = over -; pseudo-transparency = false +; compositing-background = xor +; compositing-background = screen +; compositing-foreground = source +; compositing-border = over +; pseudo-transparency = false [global/wm] margin-top = 0 diff --git a/.config/polybar/modules.ini b/.config/polybar/modules.ini index aaf111b..ac276b8 100644 --- a/.config/polybar/modules.ini +++ b/.config/polybar/modules.ini @@ -57,6 +57,8 @@ ws-icon-5 = side-view; ws-icon-default =  + enable-scroll = false + ; Separator in between workspaces ; label-separator = | @@ -67,7 +69,7 @@ wrapping-scroll = false ; Only show workspaces on the same output as the bar -; pin-workspaces = true +; pin-workspaces = true label-mode-padding = 2 label-mode-foreground = #000 @@ -177,10 +179,10 @@ label-connected = %essid% (%signal:3%%) format-disconnected = -; format-disconnected = -; format-disconnected-underline = ${self.format-connected-underline} -; label-disconnected = %ifname% disconnected -; label-disconnected-foreground = ${colors.foreground-alt} +; format-disconnected = +; format-disconnected-underline = ${self.format-connected-underline} +; label-disconnected = %ifname% disconnected +; label-disconnected-foreground = ${colors.foreground-alt} ramp-signal-0 =  ramp-signal-1 =  @@ -200,10 +202,10 @@ label-connected = %local_ip% format-disconnected = -; format-disconnected = -; format-disconnected-underline = ${self.format-connected-underline} -; label-disconnected = %ifname% disconnected -; label-disconnected-foreground = ${colors.foreground-alt} +; format-disconnected = +; format-disconnected-underline = ${self.format-connected-underline} +; label-disconnected = %ifname% disconnected +; label-disconnected-foreground = ${colors.foreground-alt} [module/date] type = internal/date @@ -224,7 +226,7 @@ format-volume-prefix = " " format-volume-prefix-foreground = ${colors.foreground-alt} -; format-volume = +; format-volume = format-volume = format-volume-underline = #d8d804 label-volume = %percentage%%