polybar fixup

This commit is contained in:
He4eT 2018-08-29 03:03:14 +05:00
commit 2890123f4d
2 changed files with 12 additions and 11 deletions

View file

@ -19,7 +19,7 @@ gaps inner 30
# exec --no-startup-id compton -cfb -D 5 --shadow-exclude '_NET_WM_NAME@:s = "rofi"' -o 0.5 # exec --no-startup-id compton -cfb -D 5 --shadow-exclude '_NET_WM_NAME@:s = "rofi"' -o 0.5
exec --no-startup-id compton -cb --shadow-exclude '_NET_WM_NAME@:s = "rofi"' -o 1 exec --no-startup-id compton -cb --shadow-exclude '_NET_WM_NAME@:s = "rofi"' -o 1
exec --no-startup-id polybar example exec --no-startup-id polybar top
# 2 # 2
for_window [class="^.*"] border pixel 3 for_window [class="^.*"] border pixel 3

View file

@ -5,7 +5,7 @@
foreground-alt = #999 foreground-alt = #999
primary = #444 primary = #444
[bar/example] [bar/top]
;monitor = ${env:MONITOR:HDMI-1} ;monitor = ${env:MONITOR:HDMI-1}
width = 100% width = 100%
height = 30 height = 30
@ -89,7 +89,7 @@
;title ;title
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %title:0:60:...% label = %title:0:100:...%
;lang ;lang
[module/xkeyboard] [module/xkeyboard]
@ -123,7 +123,7 @@
;network ;network
[module/wlan] [module/wlan]
type = internal/network type = internal/network
interface = wlan0 interface = wlp1s0
interval = 3.0 interval = 3.0
format-connected = <ramp-signal> <label-connected> format-connected = <ramp-signal> <label-connected>
@ -135,16 +135,16 @@
;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 =
ramp-signal-2 = ramp-signal-2 =
ramp-signal-3 = ramp-signal-3 =
ramp-signal-4 = ramp-signal-4 =
ramp-signal-foreground = ${colors.foreground-alt} ramp-signal-foreground = ${colors.foreground}
[module/eth] [module/eth]
type = internal/network type = internal/network
interface = enp0s3 interface = enp2s0
interval = 3.0 interval = 3.0
format-connected-prefix = " " format-connected-prefix = " "
@ -190,6 +190,7 @@
;battery ;battery
[module/battery] [module/battery]
type = internal/battery type = internal/battery
battery = BAT1
full-at = 98 full-at = 98
format-charging = <animation-charging> <label-charging> format-charging = <animation-charging> <label-charging>