2023-05-13 19:22:56 +01:00
|
|
|
[module/i3]
|
|
|
|
type = internal/i3
|
|
|
|
pin-workspaces = true
|
|
|
|
show-urgent = true
|
|
|
|
strip-wsnumbers = true
|
|
|
|
index-sort = true
|
|
|
|
enable-click = true
|
|
|
|
enable-scroll = true
|
|
|
|
wrapping-scroll = false
|
|
|
|
reverse-scroll = false
|
|
|
|
fuzzy-match = true
|
|
|
|
format = <label-state> <label-mode>
|
|
|
|
label-mode = %mode%
|
|
|
|
label-mode-padding = 1
|
|
|
|
label-focused = %index%
|
2024-02-09 19:57:50 +00:00
|
|
|
label-focused-foreground = ${colors.foreground}
|
|
|
|
label-focused-underline = ${colors.lightgrey}
|
2023-05-13 19:22:56 +01:00
|
|
|
label-focused-padding = 1
|
|
|
|
label-unfocused = %index%
|
|
|
|
label-unfocused-padding = 1
|
|
|
|
label-visible = %index%
|
|
|
|
label-visible-underline = ${colors.blue}
|
|
|
|
label-visible-padding = 1
|
|
|
|
label-urgent = %index%
|
|
|
|
label-urgent-foreground = ${colors.red}
|
|
|
|
label-urgent-padding = 1
|
|
|
|
|
|
|
|
[module/xworkspaces]
|
|
|
|
type = internal/xworkspaces
|
|
|
|
label-active = %name%
|
2024-02-09 19:57:50 +00:00
|
|
|
label-active-foreground = ${colors.lightblue}
|
|
|
|
label-active-underline= ${colors.lightgrey}
|
2023-05-13 19:22:56 +01:00
|
|
|
label-active-padding = 1
|
|
|
|
label-occupied = %name%
|
|
|
|
label-occupied-padding = 1
|
|
|
|
label-urgent = %name%
|
|
|
|
label-urgent-underline= ${colors.red}
|
|
|
|
label-urgent-padding = 1
|
|
|
|
label-empty = %name%
|
|
|
|
label-empty-padding = 1
|
|
|
|
|
2023-11-13 11:38:11 +00:00
|
|
|
[module/xkeyboard]
|
|
|
|
type = internal/xkeyboard
|
|
|
|
|
2024-02-09 19:57:50 +00:00
|
|
|
format = <label-layout>
|
2023-11-13 11:38:11 +00:00
|
|
|
format-prefix =
|
2024-02-09 19:57:50 +00:00
|
|
|
format-prefix-foreground = ${colors.magenta}
|
2023-11-13 11:38:11 +00:00
|
|
|
format-prefix-padding-right = 1
|
|
|
|
format-spacing = 0
|
|
|
|
|
|
|
|
label-layout = %layout%
|
|
|
|
label-layout-padding = 0
|
2024-02-09 19:57:50 +00:00
|
|
|
label-layout-background = ${colors.background}
|
|
|
|
label-layout-foreground = ${colors.foreground}
|
2023-11-13 11:38:11 +00:00
|
|
|
|
|
|
|
|
2023-05-18 11:56:19 +01:00
|
|
|
[module/title]
|
|
|
|
type = internal/xwindow
|
|
|
|
format = <label>
|
2024-02-09 19:57:50 +00:00
|
|
|
;format-foreground = ${colors.foreground}
|
2023-05-18 11:56:19 +01:00
|
|
|
format-padding = 2
|
|
|
|
|
|
|
|
label = %title%
|
2023-11-06 11:45:07 +00:00
|
|
|
label-maxlen = 30
|
2023-05-18 11:56:19 +01:00
|
|
|
|
|
|
|
; Used instead of label when there is no window title
|
|
|
|
; Available tokens:
|
|
|
|
; None
|
|
|
|
;label-empty = Empty
|
|
|
|
;label-empty-foreground = ${colors.grey}
|
|
|
|
|
2023-05-13 19:22:56 +01:00
|
|
|
[module/cpu]
|
2023-05-18 11:56:19 +01:00
|
|
|
type = custom/script
|
|
|
|
exec = $HOME/.config/polybar/scripts/cpu_temp.sh
|
|
|
|
|
|
|
|
interval = 1
|
|
|
|
|
|
|
|
label = %output%
|
|
|
|
|
2023-05-13 19:22:56 +01:00
|
|
|
format = <label>
|
2024-02-09 19:57:50 +00:00
|
|
|
format-prefix =
|
2023-05-13 19:22:56 +01:00
|
|
|
format-prefix-foreground = ${colors.blue}
|
2023-05-18 11:56:19 +01:00
|
|
|
format-prefix-padding-right = 1
|
|
|
|
format-suffix = °C
|
|
|
|
|
|
|
|
[module/gpu]
|
|
|
|
type = custom/script
|
|
|
|
exec = $HOME/.config/polybar/scripts/gpu_temp.sh
|
|
|
|
|
|
|
|
interval = 1
|
|
|
|
|
|
|
|
label = %output%
|
|
|
|
|
|
|
|
format = <label>
|
|
|
|
format-prefix =
|
|
|
|
format-prefix-foreground = ${colors.green}
|
|
|
|
format-prefix-padding-right = 1
|
|
|
|
format-suffix = °C
|
2023-05-13 19:22:56 +01:00
|
|
|
|
2023-05-19 14:33:01 +01:00
|
|
|
[module/amdgpu]
|
|
|
|
type = custom/script
|
|
|
|
exec = $HOME/.config/polybar/scripts/amd_gpu_temp.sh
|
|
|
|
|
|
|
|
interval = 1
|
|
|
|
|
|
|
|
label = %output%
|
|
|
|
|
|
|
|
format = <label>
|
|
|
|
format-prefix =
|
|
|
|
format-prefix-foreground = ${colors.green}
|
|
|
|
format-prefix-padding-right = 1
|
|
|
|
format-suffix = °C
|
|
|
|
|
2023-05-13 19:22:56 +01:00
|
|
|
[module/memory]
|
|
|
|
type = internal/memory
|
|
|
|
interval = 1
|
2023-05-18 11:56:19 +01:00
|
|
|
label = %used%
|
2023-05-13 19:22:56 +01:00
|
|
|
format = <label>
|
|
|
|
format-prefix =
|
2024-02-09 19:57:50 +00:00
|
|
|
format-prefix-foreground = ${colors.magenta}
|
2023-05-13 19:22:56 +01:00
|
|
|
format-prefix-padding-right = 1
|
|
|
|
|
|
|
|
[module/filesystem]
|
|
|
|
type = internal/fs
|
|
|
|
mount-0 = /
|
|
|
|
interval = 10
|
|
|
|
warn-percentage = 90
|
|
|
|
format-mounted-prefix =
|
|
|
|
format-mounted-prefix-foreground = ${colors.yellow}
|
|
|
|
format-mounted-prefix-padding-right = 1
|
|
|
|
format-mounted = <label-mounted>
|
2023-05-18 11:56:19 +01:00
|
|
|
label-mounted = %free%
|
2023-05-13 19:22:56 +01:00
|
|
|
|
|
|
|
[module/pulseaudio]
|
|
|
|
type = internal/pulseaudio
|
|
|
|
use-ui-max = false
|
|
|
|
interval = 5
|
|
|
|
format-volume = <ramp-volume><label-volume>
|
|
|
|
label-volume = %percentage%%
|
|
|
|
ramp-volume-0 =
|
2024-02-09 19:57:50 +00:00
|
|
|
ramp-volume-0-foreground = ${colors.lightgreen}
|
2023-05-13 19:22:56 +01:00
|
|
|
ramp-volume-0-padding-right = 1
|
|
|
|
ramp-volume-1 =
|
2024-02-09 19:57:50 +00:00
|
|
|
ramp-volume-1-foreground = ${colors.lightgreen}
|
2023-05-13 19:22:56 +01:00
|
|
|
ramp-volume-1-padding-right = 1
|
|
|
|
ramp-volume-2 =
|
2024-02-09 19:57:50 +00:00
|
|
|
ramp-volume-2-foreground = ${colors.lightgreen}
|
2023-05-13 19:22:56 +01:00
|
|
|
ramp-volume-2-padding-right = 1
|
|
|
|
label-muted = MUTED
|
2024-02-09 19:57:50 +00:00
|
|
|
label-muted-foreground = ${colors.lightgrey}
|
2023-05-13 19:22:56 +01:00
|
|
|
format-muted-prefix =
|
2024-02-09 19:57:50 +00:00
|
|
|
format-muted-prefix-foreground = ${colors.red}
|
2023-05-13 19:22:56 +01:00
|
|
|
format-muted-prefix-padding-right = 1
|
|
|
|
click-right = pavucontrol || pulseaudio-equalizer-ladspa || pulseeffects || easyeffects
|
|
|
|
|
|
|
|
[module/network]
|
|
|
|
type = internal/network
|
|
|
|
interval = 1
|
|
|
|
format-connected = <ramp-signal> <label-connected>
|
|
|
|
label-connected = %ifname%
|
|
|
|
ramp-signal-0 =
|
|
|
|
ramp-signal-0-foreground = ${colors.mauve}
|
|
|
|
ramp-signal-1 =
|
|
|
|
ramp-signal-1-foreground = ${colors.mauve}
|
|
|
|
ramp-signal-2 =
|
|
|
|
ramp-signal-2-foreground = ${colors.mauve}
|
|
|
|
ramp-signal-3 =
|
|
|
|
ramp-signal-3-foreground = ${colors.mauve}
|
|
|
|
ramp-signal-4 =
|
|
|
|
ramp-signal-4-foreground = ${colors.mauve}
|
|
|
|
format-disconnected = <label-disconnected>
|
|
|
|
format-disconnected-prefix =
|
|
|
|
format-disconnected-prefix-foreground = ${colors.red}
|
|
|
|
format-disconnected-prefix-padding-right = 1
|
|
|
|
label-disconnected = N/A
|
|
|
|
label-disconnected-foreground = ${colors.subtext0}
|
|
|
|
label-disconnected-padding-left = 1
|
|
|
|
format-packetloss = <label-connected> <animation-packetloss>
|
|
|
|
animation-packetloss =
|
|
|
|
animation-packetloss-foreground = ${colors.flamingo}
|
|
|
|
animation-packetloss-framerate = 500
|
|
|
|
|
2023-10-02 11:16:52 +01:00
|
|
|
[module/weather]
|
|
|
|
type = custom/script
|
|
|
|
exec = ~/.config/polybar/scripts/weather-plugin.sh
|
|
|
|
tail = false
|
|
|
|
interval = 1800
|
|
|
|
|
2023-05-13 19:22:56 +01:00
|
|
|
[module/backlight]
|
|
|
|
type = internal/backlight
|
2023-05-18 11:56:19 +01:00
|
|
|
card = intel_backlight
|
2023-05-13 19:22:56 +01:00
|
|
|
use-actual-brightness = true
|
|
|
|
enable-scroll = true
|
|
|
|
format = <ramp> <label>
|
|
|
|
label = %percentage%%
|
|
|
|
ramp-0 =
|
|
|
|
ramp-0-foreground = ${colors.yellow}
|
|
|
|
ramp-1 =
|
|
|
|
ramp-1-foreground = ${colors.yellow}
|
|
|
|
ramp-2 =
|
|
|
|
ramp-2-foreground = ${colors.yellow}
|
|
|
|
ramp-3 =
|
|
|
|
ramp-3-foreground = ${colors.yellow}
|
|
|
|
ramp-4 =
|
|
|
|
ramp-4-foreground = ${colors.yellow}
|
|
|
|
ramp-5 =
|
|
|
|
ramp-5-foreground = ${colors.yellow}
|
|
|
|
ramp-6 =
|
|
|
|
ramp-6-foreground = ${colors.yellow}
|
|
|
|
|
|
|
|
[module/battery]
|
|
|
|
type = internal/battery
|
2023-05-18 11:56:19 +01:00
|
|
|
battery = BAT1
|
|
|
|
adapter = ADP1
|
2024-03-14 19:52:10 +00:00
|
|
|
full-at = 100
|
2023-05-13 19:22:56 +01:00
|
|
|
low-at = 5
|
|
|
|
poll-interval = 5
|
|
|
|
time-format = %H:%M
|
|
|
|
format-charging = <animation-charging> <label-charging>
|
|
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
|
|
|
format-full= <label-full>
|
|
|
|
format-low= <animation-low> <label-low>
|
2024-04-05 11:24:08 +01:00
|
|
|
label-charging = %percentage%%
|
2023-05-18 11:56:19 +01:00
|
|
|
label-discharging = %percentage%% %time%
|
2024-03-14 19:52:10 +00:00
|
|
|
label-full = %percentage%%
|
2023-05-13 19:22:56 +01:00
|
|
|
label-low = BATTERY LOW
|
|
|
|
ramp-capacity-0 =
|
|
|
|
ramp-capacity-1 =
|
|
|
|
ramp-capacity-2 =
|
|
|
|
ramp-capacity-3 =
|
|
|
|
ramp-capacity-4 =
|
|
|
|
ramp-capacity-5 =
|
|
|
|
ramp-capacity-6 =
|
|
|
|
ramp-capacity-7 =
|
|
|
|
ramp-capacity-8 =
|
|
|
|
ramp-capacity-9 =
|
2024-03-14 19:52:10 +00:00
|
|
|
ramp-capacity-foreground = ${colors.blue}
|
2023-05-13 19:22:56 +01:00
|
|
|
bar-capacity-width = 10
|
|
|
|
animation-charging-0 =
|
|
|
|
animation-charging-1 =
|
|
|
|
animation-charging-2 =
|
|
|
|
animation-charging-3 =
|
|
|
|
animation-charging-4 =
|
|
|
|
animation-charging-5 =
|
|
|
|
animation-charging-6 =
|
|
|
|
animation-charging-7 =
|
|
|
|
animation-charging-8 =
|
|
|
|
animation-charging-9 =
|
2024-03-29 18:06:52 +00:00
|
|
|
animation-charging-foreground = ${colors.green}
|
2023-05-13 19:22:56 +01:00
|
|
|
animation-charging-framerate = 750
|
|
|
|
animation-low-0 =
|
|
|
|
animation-low-0-foreground = ${colors.red}
|
2024-02-09 19:57:50 +00:00
|
|
|
animation-low-1 =
|
2023-05-13 19:22:56 +01:00
|
|
|
animation-low-framerate = 200
|
|
|
|
|
|
|
|
[module/bluetooth]
|
|
|
|
type = custom/script
|
|
|
|
exec = ~/.config/polybar/scripts/system-bluetooth-bluetoothctl.sh
|
|
|
|
tail = true
|
|
|
|
click-left = ~/.config/polybar/scripts/system-bluetooth-bluetoothctl.sh --toggle &
|
|
|
|
format-prefix =
|
|
|
|
format-prefix-foreground = ${colors.blue}
|
|
|
|
|
|
|
|
[module/date]
|
|
|
|
type = internal/date
|
|
|
|
interval = 1
|
2024-02-09 19:57:50 +00:00
|
|
|
date = %a, %B %d
|
2023-05-13 19:22:56 +01:00
|
|
|
label = %date%
|
|
|
|
format = <label>
|
|
|
|
format-prefix =
|
2024-02-09 19:57:50 +00:00
|
|
|
format-prefix-foreground = ${colors.lightyellow}
|
2023-05-13 19:22:56 +01:00
|
|
|
format-prefix-padding-right = 1
|
|
|
|
|
|
|
|
[module/time]
|
|
|
|
type = internal/date
|
|
|
|
interval = 1
|
|
|
|
time = %H:%M
|
|
|
|
label = %time%
|
|
|
|
format = <label>
|
|
|
|
format-prefix =
|
2024-02-09 19:57:50 +00:00
|
|
|
format-prefix-foreground = ${colors.lightmagenta}
|
2023-05-13 19:22:56 +01:00
|
|
|
format-prefix-padding-right = 1
|
|
|
|
|
|
|
|
[module/space]
|
|
|
|
type = custom/text
|
2024-04-15 14:57:59 +01:00
|
|
|
format = _
|
|
|
|
format-foreground = ${colors.background}
|
|
|
|
format-padding = 0.5
|
2023-05-13 19:22:56 +01:00
|
|
|
|
|
|
|
[module/dot]
|
|
|
|
type = custom/text
|
2024-04-15 14:57:59 +01:00
|
|
|
format =
|
|
|
|
format-foreground = ${colors.grey}
|
|
|
|
format-padding = 1
|
2023-05-13 19:22:56 +01:00
|
|
|
|
|
|
|
[module/sep]
|
|
|
|
type = custom/text
|
2024-04-15 14:57:59 +01:00
|
|
|
format = |
|
|
|
|
format-foreground = ${colors.grey}
|
|
|
|
format-padding = 1
|
2023-05-13 19:22:56 +01:00
|
|
|
|
|
|
|
|