diff options
| author | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
|---|---|---|
| committer | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
| commit | 6d4208a39ba4a576c310a301eb576d84eec1ddaf (patch) | |
| tree | beef17e3d6e88f08b68673d3d3e394d19639cd78 /.config/polybar/config.ini | |
| parent | d0f041df4db23a512fa2d2a7c655af0b2c7e88c5 (diff) | |
Entirely new config
Diffstat (limited to '.config/polybar/config.ini')
| -rw-r--r-- | .config/polybar/config.ini | 113 |
1 files changed, 45 insertions, 68 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index dc8d0cd..d75fdbb 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -17,18 +17,19 @@ ;========================================================== [colors] -background = #333333 -background-alt = #262626 -foreground = #FFFFFF -primary = #F0C674 -secondary = #F0C674 +background = #282A2E +background-alt = #373B41 +foreground = #C5C8C6 +primary = #F0F0A0 +secondary = #8ABEB7 alert = #A54242 disabled = #707880 -[bar/base] +[bar/example] width = 100% -height = 24pt -radius = 0 +height = 12pt + +; dpi = 96 background = ${colors.background} foreground = ${colors.foreground} @@ -38,7 +39,7 @@ line-size = 3pt border-size = 0pt border-color = #00000000 -padding-left = 1 +padding-left = 0 padding-right = 1 module-margin = 1 @@ -46,56 +47,22 @@ module-margin = 1 separator = | separator-foreground = ${colors.disabled} -bottom = false - -font-0 = Mononoki Nerd Font;2 +font-0 = JetBrainsMono Nerd Font;2 -modules-left = xworkspaces -modules-center = -modules-right = pulseaudio date +modules-left = xwindow +modules-center = date time +modules-right = filesystem pulseaudio memory cpu wlan -; cursor-click = pointer -; cursor-scroll = ns-resize +cursor-click = pointer +cursor-scroll = ns-resize enable-ipc = true -[bar/bar1] -inherit = bar/base -monitor = "HDMI-A-0" - -[bar/bar2] -inherit = bar/base -monitor = "DVI-D-0" - - -[global/wm] -margin-bottom = 0 -margin-top = 0 - -[module/media] -type = custom/script -exec = sh ~/.config/polybar/media.sh -click-left = playerctl play-pause -interval = 1 - -[module/xworkspaces] -type = internal/xworkspaces - -label-active = %name% -label-active-background = ${colors.background-alt} -label-active-underline= ${colors.primary} -label-active-padding = 1 +[module/systray] +type = internal/tray -label-occupied = %name% -label-occupied-padding = 1 - -label-urgent = %name% -label-urgent-background = ${colors.alert} -label-urgent-padding = 1 - -label-empty = %name% -label-empty-foreground = ${colors.disabled} -label-empty-padding = 1 +format-margin = 8pt +tray-spacing = 16pt [module/xwindow] type = internal/xwindow @@ -107,7 +74,7 @@ interval = 25 mount-0 = / -label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%% +label-mounted = %{F#F0F0A0}%mountpoint%%{F-} %percentage_used%% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.disabled} @@ -124,18 +91,6 @@ label-volume = %percentage%% label-muted = muted label-muted-foreground = ${colors.disabled} -[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 @@ -150,11 +105,33 @@ format-prefix = "CPU " format-prefix-foreground = ${colors.primary} label = %percentage:2%% -[module/date] +[network-base] +type = internal/network +interval = 5 +format-connected = <label-connected> +format-disconnected = <label-disconnected> +label-disconnected = %{F#F0F0A0}%ifname%%{F#707880} disconnected + +[module/wlan] +inherit = network-base +interface-type = wireless +label-connected = %{F#F0C674}%ifname%%{F-} %essid% + +[module/time] type = internal/date interval = 1 -date = %H:%M %Y-%m-%d %b +time = %H:%M +time-alt = %I:%M%P + +label = %time% +label-foreground = ${colors.primary} + +[module/date] +type = internal/date +interval = 3600 + +date = %b %d, %Y label = %date% label-foreground = ${colors.primary} |
