diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-07-03 14:10:55 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-07-04 00:43:44 +0100 |
commit | b24bd489e29c180889dea172d13465f336364a41 (patch) | |
tree | 5fce64a1b1382992f8b2bf0f518c58efd116c647 | |
parent | f7b1986036cd7a1aaff3a62ec49618f990814d1c (diff) |
polybar: show title of active window
-rw-r--r-- | .config/polybar/config.ini | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index e81ad51..72d0c27 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -39,10 +39,10 @@ module-margin-left = 0 module-margin-right = 2 font-0 = Averia Libre:style=bold:size=16;5 -font-1 = Font Awesome 5 Free Regular:size=14;4.5 -font-2 = Font Awesome 5 Free Solid:size=14;4.5 +font-1 = Font Awesome 5 Free Regular:size=14;4 +font-2 = Font Awesome 5 Free Solid:size=14;4 -modules-left = i3 +modules-left = i3 xwindow modules-center = modules-right = updates-pacman-aurhelper xkeyboard pulseaudio battery date @@ -172,6 +172,12 @@ label-muted-foreground = #999 label-muted-background = ${colors.background-module} +[module/xwindow] +type = internal/xwindow +format-padding = 3 +label-maxlen = 50 + + [module/updates-pacman-aurhelper] type = custom/script exec = /home/adam/.config/polybar/extra/updates-pacman-aurhelper.sh |