summaryrefslogtreecommitdiff
path: root/polybar/config.ini~
diff options
context:
space:
mode:
Diffstat (limited to 'polybar/config.ini~')
-rw-r--r--polybar/config.ini~168
1 files changed, 168 insertions, 0 deletions
diff --git a/polybar/config.ini~ b/polybar/config.ini~
new file mode 100644
index 0000000..18dfcaa
--- /dev/null
+++ b/polybar/config.ini~
@@ -0,0 +1,168 @@
+[colors]
+bg = #282828
+bg1 = #3c3836
+bg2 = #504945
+bg3 = #665c54
+bg4 = #7c6f64
+fg = #ebdbb2
+fg1 = #d5c4a1
+fg2 = #bdae93
+red = #cc241d
+green = #98971a
+yellow = #d79921
+orange = #d65d0e
+purple = #b16286
+aqua = #689d6a
+gray = #928374
+
+[bar/main]
+width = 100%
+height = 28
+monitor = ${env:MONITOR:}
+background = ${colors.bg}
+foreground = ${colors.fg}
+
+line-size = 2
+line-color = ${colors.yellow}
+
+padding-left = 1
+padding-right = 2
+module-margin = 1
+
+font-0 = "FiraCode Nerd Font:style=Regular:size=11;3"
+font-1 = "FiraCode Nerd Font:style=Bold:size=11;3"
+
+modules-left = i3
+modules-center = date
+modules-right = xkeyboard cpu memory filesystem
+
+separator = "│"
+separator-foreground = ${colors.bg3}
+
+cursor-click = pointer
+cursor-scroll = ns-resize
+
+enable-ipc = true
+
+
+;; ── i3 ─────────────────────────────────────────
+
+[module/i3]
+type = internal/i3
+index-sort = true
+
+format = <label-state>
+
+label-focused = %index%
+label-focused-foreground = ${colors.bg}
+label-focused-background = ${colors.yellow}
+label-focused-padding = 2
+
+label-unfocused = %index%
+label-unfocused-foreground = ${colors.fg2}
+label-unfocused-padding = 2
+
+label-visible = %index%
+label-visible-foreground = ${colors.fg1}
+label-visible-padding = 2
+
+label-urgent = %index%
+label-urgent-background = ${colors.red}
+label-urgent-foreground = ${colors.bg}
+label-urgent-padding = 2
+
+
+;; ── Date ───────────────────────────────────────
+
+[module/date]
+type = internal/date
+interval = 5
+
+date = %a %d %b
+time = %H:%M
+
+format-prefix = "time "
+format-prefix-foreground = ${colors.aqua}
+
+label = %date% %time%
+
+
+;; ── PipeWire (via PulseAudio API) ─────────────
+
+[module/pulseaudio]
+type = internal/pulseaudio
+
+use-ui-max = true
+interval = 2
+
+format-volume = <ramp-volume> <label-volume>
+format-muted = <label-muted>
+
+label-volume = %percentage%%
+label-muted = muted
+
+label-muted-foreground = ${colors.gray}
+
+ramp-volume-0 = vol-low
+ramp-volume-1 = vol-mid
+ramp-volume-2 = vol-high
+ramp-volume-foreground = ${colors.green}
+
+click-right = pavucontrol
+
+
+;; ── Keyboard ──────────────────────────────────
+
+
+[module/xkeyboard]
+type = internal/xkeyboard
+
+blacklist-0 = num lock
+blacklist-1 = scroll lock
+
+format-prefix = "kbd "
+format-prefix-foreground = ${colors.purple}
+
+label-layout = %layout%
+
+click-left = /usr/bin/env bash ~/.config/polybar/scripts/kb-switch.sh
+
+;; ── CPU ───────────────────────────────────────
+
+[module/cpu]
+type = internal/cpu
+interval = 2
+
+format-prefix = "cpu "
+format-prefix-foreground = ${colors.orange}
+
+label = %percentage%%
+
+
+;; ── Memory ────────────────────────────────────
+
+[module/memory]
+type = internal/memory
+interval = 3
+
+format-prefix = "ram "
+format-prefix-foreground = ${colors.purple}
+
+label = %percentage_used%%
+
+
+;; ── Filesystem ────────────────────────────────
+
+[module/filesystem]
+type = internal/fs
+interval = 30
+
+mount-0 = /
+
+format-mounted-prefix = "disk "
+format-mounted-prefix-foreground = ${colors.aqua}
+
+label-mounted = %percentage_used%%
+label-unmounted = down
+label-unmounted-foreground = ${colors.red}
+