dots/polybar/config.ini

221 lines
4.3 KiB
INI

[bar/top]
monitor = eDP-1
bottom = true
font-0="Terminus:pixelsize=14"
font-1="Font Awesome 6 Free Regular:pixelsize=12"
font-2="Symbols Nerd Font"
fixed-center = true
width = 100%
height=24
modules-left= bspwm
modules-right= battery alsa wlan date
module-margin-right=1
module-margin-left =1
separator =
spacing = 0
dim-value = 1.0
line-size=4
[bar/bottom]
monitor = HDMI-1
bottom = true
font-0="Terminus:pixelsize=14"
font-1="FontAwesome:pixelsize=12"
fixed-center = true
width = 100%
height=24
modules-left= bspwm
modules-right= battery alsa date
module-margin-right=1
module-margin-left =1
separator =
spacing = 0
dim-value = 1.0
line-size=4
[module/bspwm]
type=internal/bspwm
format= <label-state> <label-mode>
pin-workspaces=true
enable-click = true
index-sort=true
wrapping-scroll=true
enable-scroll=true
label-mode=" %mode%"
label-mode-background=#ffffff
label-focused= %name%
label-focused-foreground= #ffffff
label-focused-underline=#ffffff
label-focused-padding=1
label-occupied=%name%
label-occupied-foreground=#ffffff
label-occupied-underline=#444444
label-occupied-padding=1
label-unfocused=%name%
label-unfocused-foreground = #ffffff
label-unfocused-background= #000000
label-unfocused-padding=1
label-empty=%name%
label-empty-padding=1
label-empty-foreground = #ffffff
label-empty-background= #000000
label-urgent = %name%
[module/battery]
type= internal/battery
battery=BAT1
format-charging = <ramp-capacity><label-charging>
; Available tags:
; <label-discharging> (default)
; <bar-capacity>
; <ramp-capacity>
; <animation-discharging>
format-discharging = <ramp-capacity><label-discharging>
; Available tags:
; <label-full> (default)
; <bar-capacity>
; <ramp-capacity>
;format-full = <ramp-capacity> <label-full>
; Format used when battery level drops to low-at
; If not defined, format-discharging is used instead.
; Available tags:
; <label-low>
; <animation-low>
; <bar-capacity>
; <ramp-capacity>
; New in version 3.6.0
;format-low = <label-low> <animation-low>
; Available tokens:
; %percentage% (default) - is set to 100 if full-at is reached
; %percentage_raw%
; %time%
; %consumption% (shows current charge rate in watts)
label-charging = Charging %percentage%%
; Available tokens:
; %percentage% (default) - is set to 100 if full-at is reached
; %percentage_raw%
; %time%
; %consumption% (shows current discharge rate in watts)
; Available tokens:
; %percentage% (default) - is set to 100 if full-at is reached
; %percentage_raw%
label-full = Fully charged
; Available tokens:
; %percentage% (default) - is set to 100 if full-at is reached
; %percentage_raw%
; %time%
; %consumption% (shows current discharge rate in watts)
; New in version 3.6.0
label-low = BATTERY LOW
; Only applies if <ramp-capacity> is used
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =
; Only applies if <bar-capacity> is used
ramp-capacity-padding=1
[module/title]
type= internal/xwindow
format = <label>
format-background=#fb0f0f
format-foreground=#ffffff
label = %title%
label-maxlen=30
label-padding=1
[module/alsa]
type= internal/alsa
master-soundcard=default
speaker-soundcard=default
headphone-soundcard=default
master-mixer= Master
speaker-mixer= Speaker
headphone-mixer = Headphone
headphone-id=1
mapped = true
interval = 5
; Available tags:
; <label-volume> (default)
; <ramp-volume>
; <bar-volume>
format-volume = <ramp-volume><label-volume>
; Available tags:
; <label-muted> (default)
; <ramp-volume>
; <bar-volume>
;format-muted = <label-muted>
; Available tokens:
; %percentage% (default)
;label-volume = %percentage%%
; Available tokens:
; %percentage% (default)
label-muted = ﱝ muted
label-muted-foreground = #66
; Only applies if <ramp-volume> is used
ramp-volume-0 =
; If defined, it will replace <ramp-volume> when
; headphones are plugged in to `headphone_control_numid`
ramp-headphones-0 =
ramp-headphones-1 =
ramp-volume-padding=1
ramp-headphones-padding=1
[module/date]
type = internal/date
interval = 1.0
time = %H:%M
date = "%a %b %d"
format =  <label>
label= %time%  %date%
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = ""
[module/wlan]
inherit = network-base
interface-type = wireless
label-connected =  %essid%