vincentbernat.i3wm-configur.../dotfiles/polybar.conf

163 lines
3.5 KiB
Text
Raw Normal View History

2021-07-04 18:25:28 +02:00
[colors]
background = #c0000000
2021-07-04 18:25:28 +02:00
foreground = #eaeaea
highlight = #4c7899
[settings]
screenchange-reload = false
[bar/common]
2021-07-04 18:25:28 +02:00
enable-ipc = true
width = 100%
height = ${env:HEIGHT:}
monitor = ${env:MONITOR:}
monitor-strict = true
dpi = ${env:DPI:}
border-size = 0
tray-position = none
fixed-center = true
module-margin = 1
padding-right = 1
2021-07-04 18:25:28 +02:00
background = ${colors.background}
foreground = ${colors.foreground}
font-0 = Iosevka:style=Regular:size=10;2
2021-07-10 00:13:08 +02:00
font-1 = Font Awesome 6 Pro:style=Solid:size=10;2
font-2 = Font Awesome 6 Brands:style=Regular:size=10;2
2021-07-04 18:25:28 +02:00
modules-left = i3
2021-07-09 17:14:54 +02:00
modules-center = date
[bar/alone]
inherit = bar/common
2021-07-09 17:14:54 +02:00
modules-right = cpu memory brightness battery ethernet wlan pulseaudio
2021-07-04 18:25:28 +02:00
[bar/primary]
inherit = bar/common
modules-right = cpu memory brightness battery ethernet wlan pulseaudio
[bar/secondary]
inherit = bar/common
modules-right = pulseaudio
2021-07-04 18:25:28 +02:00
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
pin-workspaces = true
label-mode-background = ${colors.highlight}
label-mode-padding = 1
label-focused = %name%
2021-07-04 18:25:28 +02:00
label-focused-background = ${colors.highlight}
label-focused-padding = 1
label-unfocused = %name%
2021-07-04 18:25:28 +02:00
label-unfocused-padding = 1
label-visible = %name%
2021-07-04 18:25:28 +02:00
label-visible-background = ${self.label-focused-background}
label-visible-padding = ${self.label-focused-padding}
label-urgent = %name%
2021-07-04 18:25:28 +02:00
label-urgent-background = #a00000
label-urgent-padding = 1
# Not supported yet. Wait for 3.6.0 to get the warn stuff.
# [module/disk]
# type = internal/fs
# mount-0 = /
# mount-1 = /home
# mount-2 = /var
# mount-3 = /tmp
# mount-4 = /var/lib/systems
# mount-5 = /boot
# warn-percentage = 80
# fixed-values = true
# interval = 15
# format-unmounted =
# format-mounted =
# format-warn = <label-warn>
# format-warn-foreground = #ff0000
# label-warn =  %mountpoint%: %percentage_used%%
2021-07-05 08:28:06 +02:00
[module/brightness]
type = internal/backlight
card = intel_backlight
format = <label>
label =  %percentage: 2%%
enable-scroll = true
2021-07-05 08:28:06 +02:00
2021-07-04 18:25:28 +02:00
[module/cpu]
type = internal/cpu
interval = 2
label =  %percentage: 2%%
[module/memory]
type = internal/memory
interval = 5
label =  %percentage_used: 2%%
[module/wlan]
type = internal/network
interface = ${env:WLAN:}
interval = 5
format-connected = <ramp-signal> <label-connected>
label-connected = %essid%
2021-07-04 18:25:28 +02:00
format-disconnected = 
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
[module/ethernet]
type = internal/network
interface = ${env:LAN:}
interval = 2
format-connected = <label-connected>
label-connected = 
2021-07-04 18:25:28 +02:00
format-disconnected =
[module/date]
type = internal/date
interval = 2
2021-07-06 15:06:25 +02:00
date = %a %d %b
2021-07-04 18:25:28 +02:00
time = %H:%M
2021-07-05 08:37:31 +02:00
label =  %date% %time%
2021-07-04 18:25:28 +02:00
[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP1
interval = 5
format-charging = <label-charging>
label-charging =  %percentage: 2%%
format-discharging = <ramp-capacity> <label-discharging>
label-discharging = %percentage: 2%%%{F-}
2021-07-04 18:25:28 +02:00
format-full = <label-full>
label-full = 
2021-07-08 22:29:37 +02:00
full-at = 98
ramp-capacity-0 = %{F#ff0000}
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
ramp-capacity-5 = 
ramp-capacity-6 = 
ramp-capacity-7 = 
2021-07-04 18:25:28 +02:00
[module/pulseaudio]
type = internal/pulseaudio
use-ui-max = false
format-volume = <ramp-volume> <label-volume>
format-muted = <label-muted>
label-volume = %percentage: 2%%
label-muted =  %percentage: 2%%
2021-07-04 18:25:28 +02:00
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-3 = 
ramp-volume-4 = 
ramp-volume-5 = 
ramp-volume-6 = 
ramp-volume-7 = 