mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-15 11:21:42 +01:00
polybar: Show title of focused window at center
It turns out that showing the window title is very useful for actually using the window manager, especially with no visual indicator through window borders to determine which one is selected.
This commit is contained in:
parent
1e8652d638
commit
2439706a28
@ -14,7 +14,7 @@ background-alt = ${xrdb:color8}
|
|||||||
|
|
||||||
[bar/main]
|
[bar/main]
|
||||||
modules-left = bspwm
|
modules-left = bspwm
|
||||||
modules-center = mpd
|
modules-center = window
|
||||||
modules-right = cpu ram volume date time
|
modules-right = cpu ram volume date time
|
||||||
|
|
||||||
monitor = VGA-1
|
monitor = VGA-1
|
||||||
@ -109,4 +109,9 @@ type = internal/alsa
|
|||||||
label-volume = %percentage%%
|
label-volume = %percentage%%
|
||||||
format-volume-foreground = ${color.background-alt}
|
format-volume-foreground = ${color.background-alt}
|
||||||
|
|
||||||
|
[module/window]
|
||||||
|
type = internal/xwindow
|
||||||
|
label-maxlen = 120
|
||||||
|
label-empty = /usr/bin/bspwm
|
||||||
|
|
||||||
; vim:ft=dosini
|
; vim:ft=dosini
|
||||||
|
Loading…
Reference in New Issue
Block a user