Add config for rincewind’s polybar
- Change some of the colors, because I’ve spent a little more time on this on rincewind than on data. - Add a script that will start polybar whenever herbstluftwm starts. - Rename [bar/drd] to [bar/data] to match the hostname of data.
This commit is contained in:
parent
add4767e1e
commit
0b76dbdb7b
2 changed files with 56 additions and 5 deletions
2
polybar/.config/herbstluftwm/autostart.d/polybar.sh
Normal file
2
polybar/.config/herbstluftwm/autostart.d/polybar.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
pgrep polybar || { polybar "$(hostname)" 2>/dev/null & }
|
|
@ -1,14 +1,50 @@
|
||||||
; -*- mode: conf-windows; -*-
|
; -*- mode: conf-windows; -*-
|
||||||
[colors]
|
[colors]
|
||||||
background = #222222
|
background = #111414
|
||||||
background-alt = #444444
|
background-alt = #222222
|
||||||
foreground = #dfdfdf
|
foreground = #bfbfbf
|
||||||
foreground-alt = #555555
|
foreground-alt = #969696
|
||||||
primary = #ffb52a
|
primary = #ffb52a
|
||||||
secondary = #e60053
|
secondary = #e60053
|
||||||
alert = #bd2c40
|
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
|
width = 1870
|
||||||
height = 27
|
height = 27
|
||||||
offset-x = 25
|
offset-x = 25
|
||||||
|
@ -48,6 +84,19 @@ cursor-scroll = ns-resize
|
||||||
[module/xwindow]
|
[module/xwindow]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
label = %title%
|
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]
|
[module/date]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
|
|
Loading…
Reference in a new issue