summaryrefslogtreecommitdiff
path: root/.config/polybar
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2022-06-28 18:27:45 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2022-06-28 18:27:45 +0200
commitfff21d95c2e54a2b818a50806078eb708aad4e5e (patch)
tree399946c2f44414f8d61c370057586da64f86bc8b /.config/polybar
parent38980eb2bc0576c0d80d426c0d756daee69eb6bb (diff)
polybar: show title of active window
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config.ini8
1 files changed, 7 insertions, 1 deletions
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