Skip to content

Commit

Permalink
Standardise polybar modules
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jan 25, 2024
1 parent c0357d9 commit e6f6875
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions home-modules/polybar/polybar.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tray-spacing = 10px
[module/redshift]
type = custom/script
# format-prefix = " "
format-prefix = "TEMP "
format-prefix = "CLR "
format-prefix-foreground = ${colors.primary}
exec = ~/.config/polybar/redshift.sh temperature
click-left = ~/.config/polybar/redshift.sh toggle
Expand Down Expand Up @@ -74,8 +74,9 @@ label-empty = ""
[module/backlight]
type = internal/backlight

label = 
label-font = 2
# label = 
label = %percentage%%
# label-font = 2

ramp-0 = ╾────
ramp-1 = ━────
Expand All @@ -88,7 +89,9 @@ ramp-7 = ━━━━─
ramp-8 = ━━━━╾
ramp-9 = ━━━━━

format = <label> <ramp>
format = <label>
format-prefix = "BLT "
format-prefix-foreground = ${colors.primary}


[module/xwindow]
Expand All @@ -105,8 +108,13 @@ adapter = ADP1

poll-interval = 5

format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-prefix = "BAT "
format-charging-prefix = "BAT "
format-discharging-prefix-foreground = ${colors.primary}
format-charging-prefix-foreground = ${colors.primary}

format-charging = <label-charging>
format-discharging = <label-discharging>

label-charging = %percentage%%
label-discharging = %percentage%%
Expand Down Expand Up @@ -134,7 +142,7 @@ interface-type = wireless

# format-connected = <ramp-signal> <label>
# label-connected = %essid%
label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
label-connected = %{F#F0C674}WIFI%{F-} %essid%
label-disconnected = ""
label-disconnected-foreground = ${colors.alert}

Expand Down

0 comments on commit e6f6875

Please sign in to comment.