From 9ef831781d782ce03e0979954b6ff87109949cdd Mon Sep 17 00:00:00 2001 From: Nick Boughton Date: Wed, 14 Apr 2021 12:27:28 +0100 Subject: [PATCH] tweaked tray position and window positioning --- i3/config | 2 +- polybar/config | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/i3/config b/i3/config index 39f6e9c..73eec4e 100644 --- a/i3/config +++ b/i3/config @@ -182,7 +182,7 @@ mode "resize" { bindsym $mod+r mode "resize" gaps inner 10 -gaps top 45 +gaps top 40 # # Titlebars diff --git a/polybar/config b/polybar/config index 71f1975..882561e 100644 --- a/polybar/config +++ b/polybar/config @@ -47,7 +47,8 @@ modules-left = date battery root_storage home_storage memory swap cpu modules-center = i3 modules-right = covid weather updates my-updates backlight-acpi pulseaudio powermenu -tray-position = right +tray-position = center +tray-offset-x = 530 tray-padding = 2 cursor-click = pointer @@ -115,27 +116,33 @@ label-mode-foreground = #000 label-mode-background = ${colors.primary} ; focused = Active workspace on focused monitor -label-focused = %index% +label-focused = %index% %icon% label-focused-background = ${colors.color4} label-focused-padding = 2 ; unfocused = Inactive workspace on any monitor -label-unfocused = %index% +label-unfocused = %index% %icon% label-unfocused-padding = 2 ; visible = Active workspace on unfocused monitor -label-visible = %index% +label-visible = %index% %icon% label-visible-background = ${self.label-focused-background} label-visible-padding = ${self.label-focused-padding} ; urgent = Workspace with urgency hint set -label-urgent = %index% +label-urgent = %index% %icon% label-urgent-background = ${colors.alert} label-urgent-padding = 2 ; Separator in between workspaces ; label-separator = | +ws-icon-0 = 1; +ws-icon-1 = 2; +ws-icon-2 = 3; +ws-icon-3 = 4; +ws-icon-default =  + [module/xbacklight] type = internal/xbacklight