update polybar with title of window

master
Rostyslav Hnatyshyn 2 years ago
parent b180b09e08
commit 52bfa84abc
  1. 7
      polybar/config.ini

@ -56,7 +56,7 @@ font-0 = Hack:style=Regular:size=11;1
font-1 = unifont:style=Regular:size=11;0 font-1 = unifont:style=Regular:size=11;0
font-2 = siji:style=Regular:size=11;1 font-2 = siji:style=Regular:size=11;1
modules-left = i3 modules-left = i3 title
modules-center = date modules-center = date
modules-right = cpu memory wlan pulseaudio battery modules-right = cpu memory wlan pulseaudio battery
@ -79,6 +79,11 @@ wm-restack = i3
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
[module/title]
type = internal/xwindow
label-maxlen = 25
[module/i3] [module/i3]
type = internal/i3 type = internal/i3
format = <label-state> <label-mode> format = <label-state> <label-mode>

Loading…
Cancel
Save