From ebeb7b3698e788188e3695ad08efbcca69b4237f Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 17 Aug 2024 17:55:07 +0100 Subject: [PATCH] Add system tray --- config/packages/i3/config | 4 ++-- config/packages/polybar/config.ini | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config/packages/i3/config b/config/packages/i3/config index 8077fc1..4192ac9 100644 --- a/config/packages/i3/config +++ b/config/packages/i3/config @@ -216,8 +216,8 @@ bindsym $mod+r mode "resize" # finds out, if available) # Gaps -# gaps inner 5 -# gaps outer 5 +gaps inner 5 +gaps outer -5 gaps horizontal 5 gaps vertical 5 gaps top 5 diff --git a/config/packages/polybar/config.ini b/config/packages/polybar/config.ini index 4550465..a447cce 100644 --- a/config/packages/polybar/config.ini +++ b/config/packages/polybar/config.ini @@ -54,14 +54,14 @@ font-1 = Font Awesome 6 Free:style=Regular;2 font-2 = Font Awesome 6 Free:style=Solid;2 modules-left = xworkspaces xwindow -modules-right = filesystem pulseaudio-control-output xkeyboard memory cpu battery date +modules-right = filesystem pulseaudio-control-output xkeyboard memory cpu battery date tray cursor-click = pointer cursor-scroll = ns-resize enable-ipc = true -tray-position = right +; tray-position = right ; wm-restack = generic ; wm-restack = bspwm @@ -194,6 +194,12 @@ date-alt = %Y-%m-%d %H:%M:%S label = %date% label-foreground = ${colors.primary} +[module/tray] +type internal/tray + +format-margin = 8px +tray-spacing = 8px + [settings] screenchange-reload = true pseudo-transparency = true