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

145 lines
3 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-04 18:25:28 +02:00
font-1 = Font Awesome 5 Pro:style=Solid:size=10;2
font-2 = Font Awesome 5 Brands:style=Regular:size=10;2
modules-left = i3
[bar/alone]
inherit = bar/common
modules-right = cpu memory brightness battery ethernet wlan pulseaudio date
2021-07-04 18:25:28 +02:00
[bar/primary]
inherit = bar/common
modules-right = cpu memory brightness battery pulseaudio date
[bar/secondary]
inherit = bar/common
modules-right = ethernet wlan pulseaudio date
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
enable-click = false
enable-scroll = false
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
2021-07-05 08:28:06 +02:00
[module/brightness]
type = internal/backlight
card = intel_backlight
format = <label>
label =  %percentage: 2%%
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 = 
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-3 = 
ramp-volume-4 = 
ramp-volume-5 = 
ramp-volume-6 = 
ramp-volume-7 = 