Add polybar window-title

This commit is contained in:
Tobias Reisinger 2022-07-09 00:42:46 +02:00
parent 98f5135302
commit e0d2922b81
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 47 additions and 20 deletions

View file

@ -50,7 +50,7 @@
[bar/portalo-base]
inherit = bar/base
modules-left = bspwm
modules-left = bspwm title
modules-center = mpd player-mpris-simple
modules-right = openweather memory cpu temperature eth check-arch-updates date
@ -59,14 +59,14 @@
[bar/portalo-primary]
inherit = bar/portalo-base
modules-left = bspwm bsp-layout-primary
modules-left = bspwm bsp-layout-primary title
monitor = ${env:MONITOR_PRIMARY}
[bar/portalo-secondary]
inherit = bar/portalo-base
modules-left = bspwm bsp-layout-secondary
modules-left = bspwm bsp-layout-secondary title
monitor = ${env:MONITOR_SECONDARY}
tray-position = none

View file

@ -348,6 +348,14 @@
ramp-4 =
ramp-foreground = ${colors.foreground}
[module/title]
type = internal/xwindow
format =  <label>
format-underline = ${colors.green}
label = %title%
label-maxlen = 50
[module/powermenu]
type = custom/menu