dotfiles/.config/polybar/config.d/laptop

50 lines
1.0 KiB
Plaintext

[variables]
dpi = 150
height = 54
wireless_interface = wlp2s0
top_left = powermenu system-uptime-pretty battery
top_center = xwindow
top_right = system-usb-udev backlight pulseaudio date
[module/backlight]
type = internal/backlight
card = intel_backlight
label = %{F#77dd77}☀️%{F#ddd} %percentage%%
bar-width = 10
bar-indicator = |
bar-fill = ─
bar-empty = ─
[module/luminosity]
type = custom/script
exec = ~/.config/polybar/scripts/luminosity.sh
interval = 1
[module/pulseaudio]
type = internal/pulseaudio
interval = 5
format-volume = <ramp-volume> <label-volume>
label-muted = 🔇 muted
label-muted-foreground = #666
ramp-volume-0 = 🔈
ramp-volume-1 = 🔉
ramp-volume-2 = 🔊
ramp-headphones-0 = 
ramp-headphones-1 = 
[module/battery]
type = internal/battery
full-at = 100
battery = BAT0
adapter = AC0
poll-interval = 5
format-charging = <label-charging>
format-discharging = <label-discharging>
format-full = <label-full>
label-charging =  %percentage%%
label-discharging =  %percentage%%
label-full = %{F#77dd77}