aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2022-09-09 12:45:06 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2022-09-09 12:45:06 +0200
commitbee0aa328dae6ff72f8b2aeb524611d93a2c125e (patch)
treed845cb115ef950c99cbfb49b1c58a88d54db92a8
parentabced3851dcd43373b0d59d88d68f9c1d9808c53 (diff)
Seperate system tray: extra bar
-rw-r--r--polybar/config.ini22
-rwxr-xr-xpolybar/launch.sh2
2 files changed, 23 insertions, 1 deletions
diff --git a/polybar/config.ini b/polybar/config.ini
index bbfbe4c..ffae1dd 100644
--- a/polybar/config.ini
+++ b/polybar/config.ini
@@ -26,12 +26,27 @@ enable-ipc = true
[bar/main]
inherit = bar/base
monitor = eDP-1
-tray-position = right
+width = 90%
+border-right-size = 2
[bar/opt]
inherit = bar/base
monitor = DP-2
+[bar/tray]
+inherit = bar/base
+monitor = eDP-1
+width = 10%
+offset-x = 90%
+border-left-size = 2
+
+modules-left =
+modules-center = dummy
+modules-right =
+
+tray-position = center
+tray-detached = true
+
[settings]
throttle-output = 5
throttle-output-for = 10
@@ -75,6 +90,11 @@ type = custom/text
content = |
content-foreground = #a5a5a5
+[module/dummy]
+type = custom/text
+content = |
+content-foreground = #00000000
+
[module/memory]
type = internal/memory
interval = 1
diff --git a/polybar/launch.sh b/polybar/launch.sh
index c82a4bf..ac11ea4 100755
--- a/polybar/launch.sh
+++ b/polybar/launch.sh
@@ -17,3 +17,5 @@
polybar --reload -q main -c "$HOME/.config/polybar/config.ini" &
polybar --reload -q opt -c "$HOME/.config/polybar/config.ini" &
+
+polybar --reload -q tray -c "$HOME/.config/polybar/config.ini" &