dotfiles/.config/polybar/config.ini

192 lines
4.2 KiB
INI

[colors]
background = #1d2021
background-alt = #504945
foreground = #ebdbb2
foreground-alt = #555
primary = #fabd2f
secondary = #e60053
alert = #fb4934
[bar/mainbar]
monitor = HDMI-0
bottom = true
width = 100%
height = 32
;offset-x = 1%
;offset-y = 1%
;radius = 6.0
radius = 0.0
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
;border-size = 4
border-size = 0
border-color = #000000
padding-left = 4
padding-right = 4
module-margin-left = 1
module-margin-right = 3
font-0 = Iosevka Nerd Font Mono:pixelsize=11;1
font-1 = unifont:fontformat=truetype:size=11:antialias=false;0
font-2 = fixed:pixelsize=11;1
modules-left = i3
modules-center =
modules-right = eth pulseaudio filesystem memory cpu date
tray-position = center
tray-padding = 2
override-redirect = false
cursor-click = pointer
cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#83a598}DISK%{F-}: %percentage_used%%
label-mounted-underline = #d79921
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground}
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
;pin-workspaces = true
label-mode-padding = 2
label-mode-foreground = #000
label-mode-background = ${colors.primary}
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = 2
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
; Separator in between workspaces
label-separator = |
[module/cpu]
type = internal/cpu
interval = 3
format-prefix = "CPU "
format-prefix-foreground = ${colors.foreground}
format-underline = #d65d0e
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 3
format-prefix = "MEM "
format-prefix-foreground = ${colors.foreground}
format-underline = #458588
label = %percentage_used%%
[module/eth]
type = internal/network
interface = enp7s0
interval = 5.0
format-connected-underline = #98971a
;format-connected-prefix = "🗲 "
format-connected-prefix-foreground = ${colors.foreground}
label-connected = %ifname% %local_ip%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
[module/date]
type = internal/date
interval = 5
date = " %Y-%m-%d%"
date-alt = " %Y-%m-%d"
time = %I:%M
time-alt = %I:%M:%S
format-prefix = ""
format-prefix-foreground = ${colors.foreground}
format-underline = #d3869b
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume> <bar-volume>
label-volume = VOL %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = 🔇 muted
label-muted-foreground = #666
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 3
bar-volume-fill =
bar-volume-fill-font = 3
bar-volume-empty =
bar-volume-empty-font = 3
bar-volume-empty-foreground = ${colors.foreground}
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;pseudo-transparency = false
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini