dotfiles/cosmo/config/polybar/config.ini
2026-04-10 14:49:11 -07:00

203 lines
4.8 KiB
INI

;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
background = #aa111317
background-alt = #55576176
foreground = #d7afaf
primary = #d7afaf
secondary = #ffafaf
alert = #d75f87
disabled = #707880
[bar/status]
width = 100%
height = 24pt
radius = 12
dpi = 120
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3pt
border-top-size = 8pt
border-left-size = 10pt
border-right-size = 10pt
border-bottom-size = 0pt
border-color = #00000000
padding-left = 3
padding-right = 4
module-margin = 1
separator = |
separator-foreground = ${colors.disabled}
font-0 = Overpass Nerd Font Propo;2
modules-left = xworkspaces xwindow
modules-right = battery pulseaudio brightness filesystem memory cpu wlan eth date tray
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
; tray-position = right
; wm-restack = generic
; wm-restack = bspwm
; wm-restack = i3
; override-redirect = true
[module/xworkspaces]
type = internal/xworkspaces
label-active = %name%
label-active-background = ${colors.background-alt}
label-active-underline= ${colors.primary}
label-active-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-urgent = %name%
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %name%
label-empty-foreground = ${colors.disabled}
label-empty-padding = 2
[module/xwindow]
type = internal/xwindow
label = %title:0:60:...%
[module/battery]
type = custom/script
exec = $HOME/.config/polybar/scripts/battery-status.sh
tail = false
interval = 30
label = %output%%
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#87af87}󰿠 %{F-} %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.disabled}
[module/pulseaudio]
type = internal/pulseaudio
sink = "inverted-module-droid-card"
#format-volume-prefix = " "
format-volume-prefix-foreground = ${colors.primary}
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
label-muted =  0%
label-muted-foreground = ${colors.disabled}
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 =
click-right = pavucontrol-qt --tab 3
[module/brightness]
type = custom/script
exec = $HOME/.config/polybar/scripts/brightness-monitor.sh
tail = true
label = 󰃟 %output%%
#[module/xkeyboard]
#type = internal/xkeyboard
#blacklist-0 = num lock
#label-layout = %layout%
#label-layout-foreground = ${colors.primary}
#label-indicator-padding = 2
#label-indicator-margin = 1
#label-indicator-foreground = ${colors.background}
#label-indicator-background = ${colors.secondary}
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.primary}
label = %percentage_used:2%%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
[module/wlan]
inherit = network-base
interface-type = wireless
label-connected = %{F#87af87} %{F-} %essid%
label-disconnected =  
label-disconnected-foreground = ${colors.disabled}
[module/eth]
inherit = network-base
interface-type = wired
label-connected = %{F#87af87}%󰈀 %%{F-} %local_ip%
label-disconnected = 󰈀 
label-disconnected-foreground = ${colors.disabled}
[module/date]
type = internal/date
interval = 1
date = %b %d, %Y %H:%M
date-alt = %Y-%m-%d %H:%M:%S
label = %date%
label-foreground = ${colors.primary}
[module/tray]
type = internal/tray
[settings]
screenchange-reload = true
pseudo-transparency = true
; vim:ft=dosini