fix: polybar config spaces and bspwm scrolling

This commit is contained in:
Tobias Reisinger 2020-03-27 14:19:28 +01:00
parent af7c310c36
commit a262f249ae
3 changed files with 23 additions and 21 deletions

View file

@ -1,8 +1,8 @@
[bar/base] [bar/base]
width = 100% width = 100%
height = 27 height = 27
; offset-x = 1% ; offset-x = 1%
; offset-y = 1% ; offset-y = 1%
radius = 0.0 radius = 0.0
fixed-center = true fixed-center = true
bottom = true bottom = true
@ -35,12 +35,12 @@
tray-padding = 2 tray-padding = 2
wm-restack = bspwm wm-restack = bspwm
; wm-restack = i3 ; wm-restack = i3
; override-redirect = true ; override-redirect = true
scroll-up = bspwm-desknext ; scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev ; scroll-down = bspwm-deskprev
cursor-click = pointer cursor-click = pointer
cursor-scroll = pointer cursor-scroll = pointer

View file

@ -18,11 +18,11 @@ include-file = ~/.config/polybar/custom.ini
[settings] [settings]
screenchange-reload = true screenchange-reload = true
; compositing-background = xor ; compositing-background = xor
; compositing-background = screen ; compositing-background = screen
; compositing-foreground = source ; compositing-foreground = source
; compositing-border = over ; compositing-border = over
; pseudo-transparency = false ; pseudo-transparency = false
[global/wm] [global/wm]
margin-top = 0 margin-top = 0

View file

@ -57,6 +57,8 @@
ws-icon-5 = side-view; ws-icon-5 = side-view;
ws-icon-default = ws-icon-default =
enable-scroll = false
; Separator in between workspaces ; Separator in between workspaces
; label-separator = | ; label-separator = |
@ -67,7 +69,7 @@
wrapping-scroll = false wrapping-scroll = false
; Only show workspaces on the same output as the bar ; Only show workspaces on the same output as the bar
; pin-workspaces = true ; pin-workspaces = true
label-mode-padding = 2 label-mode-padding = 2
label-mode-foreground = #000 label-mode-foreground = #000
@ -177,10 +179,10 @@
label-connected = %essid% (%signal:3%%) label-connected = %essid% (%signal:3%%)
format-disconnected = format-disconnected =
; format-disconnected = <label-disconnected> ; format-disconnected = <label-disconnected>
; format-disconnected-underline = ${self.format-connected-underline} ; format-disconnected-underline = ${self.format-connected-underline}
; label-disconnected = %ifname% disconnected ; label-disconnected = %ifname% disconnected
; label-disconnected-foreground = ${colors.foreground-alt} ; label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = ramp-signal-0 =
ramp-signal-1 = ramp-signal-1 =
@ -200,10 +202,10 @@
label-connected = %local_ip% label-connected = %local_ip%
format-disconnected = format-disconnected =
; format-disconnected = <label-disconnected> ; format-disconnected = <label-disconnected>
; format-disconnected-underline = ${self.format-connected-underline} ; format-disconnected-underline = ${self.format-connected-underline}
; label-disconnected = %ifname% disconnected ; label-disconnected = %ifname% disconnected
; label-disconnected-foreground = ${colors.foreground-alt} ; label-disconnected-foreground = ${colors.foreground-alt}
[module/date] [module/date]
type = internal/date type = internal/date
@ -224,7 +226,7 @@
format-volume-prefix = " " format-volume-prefix = " "
format-volume-prefix-foreground = ${colors.foreground-alt} format-volume-prefix-foreground = ${colors.foreground-alt}
; format-volume = <label-volume> <bar-volume> ; format-volume = <label-volume> <bar-volume>
format-volume = <label-volume> format-volume = <label-volume>
format-volume-underline = #d8d804 format-volume-underline = #d8d804
label-volume = %percentage%% label-volume = %percentage%%