diff --git a/applications/polybar/config-zerotwo b/applications/polybar/config-zerotwo index ab42d72..cd946f1 100644 --- a/applications/polybar/config-zerotwo +++ b/applications/polybar/config-zerotwo @@ -8,10 +8,8 @@ ;===================================================== [colors] -;background = ${xrdb:color0:#222} background = #222 background-alt = #444 -;foreground = ${xrdb:color7:#222} foreground = #dfdfdf foreground-alt = #555 primary = #ffb52a @@ -19,11 +17,8 @@ secondary = #e60053 alert = #bd2c40 [bar/main] -;monitor = ${env:MONITOR:HDMI-1} width = 100% -height = 44 -;offset-x = 1% -;offset-y = 1% +height = 54 radius = 0 fixed-center = false @@ -42,18 +37,13 @@ padding-right = 2 module-margin-left = 1 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-2 = siji:pixelsize=14;1 +font-2 = siji:pixelsize=18;1 modules-left = workspaces xkeyboard volume xbacklight modules-center = xwindow -modules-right = memory cpu wlan eth battery1 battery2 temperature date - -;tray-position = right -;tray-padding = 2 -;tray-transparent = true -;tray-background = #0063ff +modules-right = wlan eth-dock eth cpu memory battery1 battery2 temperature date cursor-click = pointer cursor-scroll = ns-resize @@ -61,11 +51,17 @@ cursor-scroll = ns-resize [module/workspaces] 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} [module/xwindow] type = internal/xwindow -label = %title:0:75:...% +label = %title:0:60:...% label-maxlen = 50 [module/xkeyboard] @@ -84,16 +80,6 @@ label-indicator-margin = 1 label-indicator-background = ${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] type = internal/xbacklight @@ -166,11 +152,19 @@ format-connected-prefix = "eth " format-connected-prefix-foreground = ${colors.foreground-alt} label-connected = Online -format-disconnected = -format-disconnected-underline = ${colors.foreground-alt} -format-disconnected-prefix = "eth " -format-disconnected-prefix-foreground = ${colors.foreground-alt} -label-disconnected = Offline +format-disconnected = + +[module/eth-dock] +type = internal/network +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] type = internal/date @@ -182,8 +176,6 @@ date-alt = " %Y-%m-%d" time = %H:%M time-alt = %H:%M:%S -;format-prefix = -;format-prefix-foreground = ${colors.foreground-alt} format-underline = #0a6cf5 label = %date% %time% @@ -226,7 +218,7 @@ format-charging = format-charging-underline = #ffb52a format-discharging = -format-discharging-underline = ${self.format-charging-underline} +format-discharging-underline = ${colors.foreground-alt} format-charging-prefix-foreground = ${colors.foreground-alt} format-discharging-prefix-foreground = ${colors.foreground-alt} @@ -248,17 +240,17 @@ animation-charging-framerate = 750 inherit = template/battery battery = BAT0 -format-charging-prefix = B1 -format-discharging-prefix = B1 -format-full-prefix = B1 +format-charging-prefix = IB +format-discharging-prefix = IB +format-full-prefix = IB [module/battery2] inherit = template/battery battery = BAT1 -format-charging-prefix = B2 -format-discharging-prefix = B2 -format-full-prefix = B2 +format-charging-prefix = EB +format-discharging-prefix = EB +format-full-prefix = EB [module/temperature] type = internal/temperature @@ -281,13 +273,7 @@ ramp-foreground = ${colors.foreground-alt} [settings] screenchange-reload = true -;compositing-background = xor -;compositing-background = screen -;compositing-foreground = source -;compositing-border = over [global/wm] margin-top = 0 margin-bottom = 0 - -; vim:ft=dosini