aboutsummaryrefslogtreecommitdiffstats
path: root/polybar
diff options
context:
space:
mode:
Diffstat (limited to 'polybar')
-rw-r--r--polybar/.config/herbstluftwm/autostart.d/polybar.sh2
-rw-r--r--polybar/.config/polybar/config59
2 files changed, 56 insertions, 5 deletions
diff --git a/polybar/.config/herbstluftwm/autostart.d/polybar.sh b/polybar/.config/herbstluftwm/autostart.d/polybar.sh
new file mode 100644
index 0000000..57ea1e3
--- /dev/null
+++ b/polybar/.config/herbstluftwm/autostart.d/polybar.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+pgrep polybar || { polybar "$(hostname)" 2>/dev/null & }
diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config
index 66dfe2b..c5a083f 100644
--- a/polybar/.config/polybar/config
+++ b/polybar/.config/polybar/config
@@ -1,14 +1,50 @@
; -*- mode: conf-windows; -*-
[colors]
-background = #222222
-background-alt = #444444
-foreground = #dfdfdf
-foreground-alt = #555555
+background = #111414
+background-alt = #222222
+foreground = #bfbfbf
+foreground-alt = #969696
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
-[bar/drd]
+[bar/rincewind]
+width = 100%
+height = 27
+radius = 6.0
+fixed-center = false
+bottom = true
+
+background = ${colors.background}
+foreground = ${colors.foreground}
+
+line-size = 3
+line-color = #ff0000
+
+border-size = 4
+border-color = #00000000
+
+padding-left = 0
+padding-right = 2
+
+module-margin-left = 1
+module-margin-right = 2
+
+font-0 = fixed:pixelsize=10;1
+font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
+font-2 = siji:pixelsize=10;1
+
+modules-left = xwindow
+modules-center =
+modules-right = volume xkeyboard date
+
+tray-position = right
+tray-padding = 2
+
+cursor-click = pointer
+cursor-scroll = ns-resize
+
+[bar/data]
width = 1870
height = 27
offset-x = 25
@@ -48,6 +84,19 @@ cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
label = %title%
+format-padding = 4
+
+[module/xkeyboard]
+type = internal/xkeyboard
+blacklist-0 = num lock
+
+label-layout = %layout%
+label-layout-underline = ${colors.secondary}
+
+label-indicator-padding = 2
+label-indicator-margin = 1
+label-indicator-background = ${colors.secondary}
+label-indicator-underline = ${colors.secondary}
[module/date]
type = internal/date