diff options
author | Danny Holman <dholman@gymli.org> | 2019-05-27 22:38:54 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2019-05-27 22:38:54 -0500 |
commit | 7ae6d2807746c972fcdf4b59b9bd49dbc8a89b42 (patch) | |
tree | cec003b96e12e6a2773a41d692a984125606d070 /.config/polybar/config | |
parent | 678d53046c39174831f8b521192ff686b77cd31d (diff) | |
parent | 6a57358907d83a12b07a2fc170c4d19d3364332f (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to '.config/polybar/config')
-rw-r--r-- | .config/polybar/config | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/.config/polybar/config b/.config/polybar/config index dcc032a..c4a3f26 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -37,7 +37,7 @@ margin-bottom = 5 monitor = ${env:MONITOR:HDMI-0} ;monitor = ${env:MONITOR:eDP1} width = 100% -height = 27 +height = 24 bottom = false offset-x = 0% offset-y = 0% @@ -74,7 +74,7 @@ font-5 = FontAwesome:size=26;7 tray-position = left tray-padding = 2 tray-transparent = false -tray-background = ${colors.xcolor7} +tray-background = ${colors.xcolor1} ; Module layouts modules-left = RightArrow2 i3 xwindow RightArrow1 RightStripe RightArrow1 @@ -98,7 +98,7 @@ modules-left = i3 xwindow RightArrow1 RightStripe RightArrow1 [module/filesystem] type = internal/fs -interval = 25 +interval = 5 fixed-values = true mount-0 = / @@ -107,6 +107,9 @@ mount-1 = /mnt/fileserver format-mounted = <label-mounted> format-mounted-foreground = ${colors.xcolor7} format-mounted-background = ${colors.xcolor1} +format-unmounted = <label-unmounted> +format-unmounted-foreground = ${colors.xcolor7} +format-unmounted-background = ${colors.xcolor1} label-mounted = "%mountpoint%: %percentage_used%%" ; %free%% %percentage_used%% %used% @@ -141,9 +144,9 @@ pin-workspaces = true enable-scroll = true label-focused = %index% -label-focused-foreground = ${colors.xcolor7} -label-focused-background = ${colors.xcolor1} -label-focused-underline = 1 +label-focused-foreground = ${colors.xcolor1} +label-focused-background = ${colors.xcolor7} +label-focused-underline = ${colors.xcolor4} label-focused-padding = 2 label-focused-font = 3 label-unfocused = %index% @@ -151,13 +154,13 @@ label-unfocused-padding = 2 label-unfocused-foreground = ${colors.xcolor7} label-unfocused-background = ${colors.xcolor1} label-occupied = %index% -label-occupied-foreground = ${colors.xcolor0} -label-occupied-background = ${colors.xcolor1} +label-occupied-foreground = ${colors.xcolor1} +label-occupied-background = ${colors.xcolor7} label-occupied-padding = 2 label-occupied-font = 3 label-urgent = %index% label-urgent-foreground = ${colors.xcolor4} -label-urgent-background = ${colors.xcolor1} +label-urgent-background = ${colors.xcolor7} label-urgent-padding = 2 label-urgent-font = 3 label-empty = %index% @@ -184,19 +187,12 @@ label-maxlen = 25 [module/xbacklight] type = internal/xbacklight -format = <label> <bar> -label = BL +format = <label> +label = Backlight %percentage%% -bar-width = 10 -bar-indicator = | -bar-indicator-foreground = #ff -bar-indicator-font = 2 -bar-fill = ─ -bar-fill-font = 2 -bar-fill-foreground = #9f78e1 -bar-empty = ─ -bar-empty-font = 2 -bar-empty-foreground = ${colors.foreground-alt} +format-foreground = ${colors.xcolor1} +format-background = ${colors.xcolor7} +format-padding = 1 [module/backlight-acpi] inherit = module/xbacklight @@ -241,13 +237,12 @@ label = %date% %time% type = internal/battery ; To list battery & adapter: $ ls -1 /sys/class/power_supply/ battery = BAT0 -adapter = AC0 -full-at = 99 +adapter = AC format-charging = <label-charging> format-charging-foreground = ${colors.xcolor7} format-charging-background = ${colors.xcolor1} -format-discharging = <ramp-capacity> <label-discharging> +format-discharging = <label-discharging> format-discharging-foreground = ${colors.xcolor7} format-discharging-background = ${colors.xcolor1} format-full = <label-full> |