From fff21d95c2e54a2b818a50806078eb708aad4e5e Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Tue, 28 Jun 2022 18:27:45 +0200 Subject: polybar: show title of active window --- .config/polybar/config.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 8a2b759..9086623 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -42,7 +42,7 @@ font-0 = Averia Libre:style=bold:size=15;3.8 font-1 = Font Awesome 5 Free Solid:size=14;4.5 font-2 = Font Awesome 5 Free Regular:size=14;4.5 -modules-left = i3 +modules-left = i3 xwindow modules-center = modules-right = updates-pacman-aurhelper xkeyboard pulseaudio date @@ -191,6 +191,12 @@ label-muted-foreground = #999 label-muted-background = ${colors.background-module} +[module/xwindow] +type = internal/xwindow +format-padding = 3 +label-maxlen = 60 + + [module/updates-pacman-aurhelper] type = custom/script exec = /home/adam/.config/polybar/extra/updates-pacman-aurhelper.sh -- cgit v1.2.3-70-g09d2