update polybar with title of window
This commit is contained in:
+7
-2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user