From 20b9e3c2a889732c7a1419a80c1ad17d947ff1bd Mon Sep 17 00:00:00 2001 From: druckdev <63563978+druckdev@users.noreply.github.com> Date: Tue, 14 Jul 2020 14:32:50 +0200 Subject: [PATCH] Show workspace name instead of index By that workspaces with no indices are displayed as their name instead of "-1". --- .config/polybar/config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 25e552f..9544559 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -48,22 +48,22 @@ index-sort = true wrapping-scroll = false ; focused = Active workspace on focused monitor -label-focused = %index% +label-focused = %name% label-focused-background = ${colors.background-alt} label-focused-underline= ${colors.primary} label-focused-padding = 1 ; unfocused = Inactive workspace on any monitor -label-unfocused = %index% +label-unfocused = %name% label-unfocused-padding = ${self.label-focused-padding} ; visible = Active workspace on unfocused monitor -label-visible = %index% +label-visible = %name% label-visible-underline = ${colors.secondary} label-visible-padding = ${self.label-focused-padding} ; urgent = Workspace with urgency hint set -label-urgent = %index% +label-urgent = %name% label-urgent-background = ${colors.alert} label-urgent-padding = ${self.label-focused-padding}