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]
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

View file

@ -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

View file

@ -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 = <label-disconnected>
; format-disconnected-underline = ${self.format-connected-underline}
; label-disconnected = %ifname% disconnected
; label-disconnected-foreground = ${colors.foreground-alt}
; format-disconnected = <label-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 = <label-disconnected>
; format-disconnected-underline = ${self.format-connected-underline}
; label-disconnected = %ifname% disconnected
; label-disconnected-foreground = ${colors.foreground-alt}
; format-disconnected = <label-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 = <label-volume> <bar-volume>
; format-volume = <label-volume> <bar-volume>
format-volume = <label-volume>
format-volume-underline = #d8d804
label-volume = %percentage%%