summaryrefslogtreecommitdiff
path: root/config.ini
diff options
context:
space:
mode:
Diffstat (limited to 'config.ini')
-rw-r--r--config.ini100
1 files changed, 100 insertions, 0 deletions
diff --git a/config.ini b/config.ini
new file mode 100644
index 0000000..8f98145
--- /dev/null
+++ b/config.ini
@@ -0,0 +1,100 @@
+;; ~/.config/polybar/config.ini
+
+[colors]
+bg = #111111
+bg-alt = #1c1c1c
+fg = #cccccc
+fg-dim = #777777
+accent = #285577
+urgent = #cc4444
+
+[bar/main]
+monitor =
+width = 100%
+height = 22
+offset-x = 0
+offset-y = 0
+bottom = true
+
+background = ${colors.bg}
+foreground = ${colors.fg}
+
+padding-left = 0
+padding-right = 0
+
+module-margin-left = 0
+module-margin-right = 0
+
+font-0 = "Fira Code:pixelsize=11:antialias=true;3"
+
+modules-left = xmonad
+modules-center =
+modules-right = cpu memory volume date time
+
+tray-position = right
+tray-padding = 6
+tray-background = ${colors.bg}
+tray-maxsize = 14
+
+cursor-default = default
+cursor-click = default
+cursor-scroll = default
+
+[module/xmonad]
+type = custom/script
+exec = tail -F /tmp/xmonad-log 2>/dev/null
+tail = true
+format-padding = 1
+
+[module/cpu]
+type = internal/cpu
+interval = 2
+format = <label>
+format-background = ${colors.bg-alt}
+format-padding = 2
+format-margin-left = 2
+label = CPU %percentage%%
+label-foreground = ${colors.fg-dim}
+
+[module/memory]
+type = internal/memory
+interval = 2
+format = <label>
+format-background = ${colors.bg-alt}
+format-padding = 2
+format-margin-left = 2
+label = MEM %used%
+label-foreground = ${colors.fg-dim}
+
+[module/volume]
+type = custom/script
+exec = pamixer --get-volume-human 2>/dev/null || echo --
+interval = 2
+format = <label>
+format-background = ${colors.bg-alt}
+format-padding = 2
+format-margin-left = 2
+label = VOL %output%
+label-foreground = ${colors.fg-dim}
+
+[module/date]
+type = internal/date
+interval = 10
+date = %a %d %b
+format = <label>
+format-background = ${colors.bg-alt}
+format-padding = 2
+format-margin-left = 2
+label = %date%
+label-foreground = ${colors.fg-dim}
+
+[module/time]
+type = internal/date
+interval = 10
+date = %H:%M
+format = <label>
+format-background = ${colors.accent}
+format-padding = 2
+format-margin-left = 2
+label = %date%
+label-foreground = #ffffff \ No newline at end of file