update polybar conf

This commit is contained in:
Dominik V. Salonen 2018-10-12 22:45:21 +02:00
parent 86e2d06bae
commit b88c4cfb38
1 changed files with 31 additions and 45 deletions

View File

@ -8,10 +8,8 @@
;===================================================== ;=====================================================
[colors] [colors]
;background = ${xrdb:color0:#222}
background = #222 background = #222
background-alt = #444 background-alt = #444
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf foreground = #dfdfdf
foreground-alt = #555 foreground-alt = #555
primary = #ffb52a primary = #ffb52a
@ -19,11 +17,8 @@ secondary = #e60053
alert = #bd2c40 alert = #bd2c40
[bar/main] [bar/main]
;monitor = ${env:MONITOR:HDMI-1}
width = 100% width = 100%
height = 44 height = 54
;offset-x = 1%
;offset-y = 1%
radius = 0 radius = 0
fixed-center = false fixed-center = false
@ -42,18 +37,13 @@ padding-right = 2
module-margin-left = 1 module-margin-left = 1
module-margin-right = 2 module-margin-right = 2
font-0 = RobotoMono:pixelsize=14;1 font-0 = RobotoMono:pixelsize=18;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=14;1 font-2 = siji:pixelsize=18;1
modules-left = workspaces xkeyboard volume xbacklight modules-left = workspaces xkeyboard volume xbacklight
modules-center = xwindow modules-center = xwindow
modules-right = memory cpu wlan eth battery1 battery2 temperature date modules-right = wlan eth-dock eth cpu memory battery1 battery2 temperature date
;tray-position = right
;tray-padding = 2
;tray-transparent = true
;tray-background = #0063ff
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@ -61,11 +51,17 @@ cursor-scroll = ns-resize
[module/workspaces] [module/workspaces]
type = internal/xworkspaces type = internal/xworkspaces
label-monitor = " %name% "
label-occupied = "%name% "
label-urgent = " %name% "
label-active = " %name% "
label-empty = " %name% "
label-inactive = " %name% "
label-active-underline = ${colors.secondary} label-active-underline = ${colors.secondary}
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %title:0:75:...% label = %title:0:60:...%
label-maxlen = 50 label-maxlen = 50
[module/xkeyboard] [module/xkeyboard]
@ -84,16 +80,6 @@ label-indicator-margin = 1
label-indicator-background = ${colors.secondary} label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary} label-indicator-underline = ${colors.secondary}
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/xbacklight] [module/xbacklight]
type = internal/xbacklight type = internal/xbacklight
@ -166,11 +152,19 @@ format-connected-prefix = "eth "
format-connected-prefix-foreground = ${colors.foreground-alt} format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = Online label-connected = Online
format-disconnected = <label-disconnected> format-disconnected =
format-disconnected-underline = ${colors.foreground-alt}
format-disconnected-prefix = "eth " [module/eth-dock]
format-disconnected-prefix-foreground = ${colors.foreground-alt} type = internal/network
label-disconnected = Offline interface = enp0s20f0u4u2u1
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = "eth "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = Online
format-disconnected =
[module/date] [module/date]
type = internal/date type = internal/date
@ -182,8 +176,6 @@ date-alt = " %Y-%m-%d"
time = %H:%M time = %H:%M
time-alt = %H:%M:%S time-alt = %H:%M:%S
;format-prefix =
;format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5 format-underline = #0a6cf5
label = %date% %time% label = %date% %time%
@ -226,7 +218,7 @@ format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a format-charging-underline = #ffb52a
format-discharging = <ramp-capacity> <label-discharging> format-discharging = <ramp-capacity> <label-discharging>
format-discharging-underline = ${self.format-charging-underline} format-discharging-underline = ${colors.foreground-alt}
format-charging-prefix-foreground = ${colors.foreground-alt} format-charging-prefix-foreground = ${colors.foreground-alt}
format-discharging-prefix-foreground = ${colors.foreground-alt} format-discharging-prefix-foreground = ${colors.foreground-alt}
@ -248,17 +240,17 @@ animation-charging-framerate = 750
inherit = template/battery inherit = template/battery
battery = BAT0 battery = BAT0
format-charging-prefix = B1 format-charging-prefix = IB
format-discharging-prefix = B1 format-discharging-prefix = IB
format-full-prefix = B1 format-full-prefix = IB
[module/battery2] [module/battery2]
inherit = template/battery inherit = template/battery
battery = BAT1 battery = BAT1
format-charging-prefix = B2 format-charging-prefix = EB
format-discharging-prefix = B2 format-discharging-prefix = EB
format-full-prefix = B2 format-full-prefix = EB
[module/temperature] [module/temperature]
type = internal/temperature type = internal/temperature
@ -281,13 +273,7 @@ ramp-foreground = ${colors.foreground-alt}
[settings] [settings]
screenchange-reload = true screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
[global/wm] [global/wm]
margin-top = 0 margin-top = 0
margin-bottom = 0 margin-bottom = 0
; vim:ft=dosini