update polybar with title of window

This commit is contained in:
2023-04-18 18:39:50 -07:00
parent b180b09e08
commit 52bfa84abc
+7 -2
View File
@@ -56,8 +56,8 @@ font-0 = Hack:style=Regular:size=11;1
font-1 = unifont:style=Regular:size=11;0
font-2 = siji:style=Regular:size=11;1
modules-left = i3
modules-center = date
modules-left = i3 title
modules-center = date
modules-right = cpu memory wlan pulseaudio battery
tray-position = right
@@ -79,6 +79,11 @@ wm-restack = i3
cursor-click = pointer
cursor-scroll = ns-resize
[module/title]
type = internal/xwindow
label-maxlen = 25
[module/i3]
type = internal/i3
format = <label-state> <label-mode>