From b24bd489e29c180889dea172d13465f336364a41 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Sun, 3 Jul 2022 14:10:55 +0100 Subject: polybar: show title of active window --- .config/polybar/config.ini | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '.config/polybar/config.ini') 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 -- cgit v1.2.3-70-g09d2