about summary refs log tree commit diff stats
path: root/home-manager/yambar/scripts/yambar-tray
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-15 18:22:20 +0100
committerene <ene@sils.li>2023-02-15 18:22:20 +0100
commita0c4090e6dbf665cb70d2ca2622445fec48ab95c (patch)
tree6f95d47fc36b325182fedfb7ac450c5cfd95ec1a /home-manager/yambar/scripts/yambar-tray
parentFeat(home-manager): Add swaylock (diff)
downloadnixos-config-a0c4090e6dbf665cb70d2ca2622445fec48ab95c.zip
Feat(home-manager): Add yambar
Diffstat (limited to 'home-manager/yambar/scripts/yambar-tray')
-rwxr-xr-xhome-manager/yambar/scripts/yambar-tray27
1 files changed, 27 insertions, 0 deletions
diff --git a/home-manager/yambar/scripts/yambar-tray b/home-manager/yambar/scripts/yambar-tray
new file mode 100755
index 00000000..1704c6dd
--- /dev/null
+++ b/home-manager/yambar/scripts/yambar-tray
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+
+pkill stalonetray
+pkill trayer
+
+# launch a tray.
+echo
+
+sleep 0.1 # make sure yambar starts first so we can draw on tpo of it
+
+# trayer-srg fork!
+trayer \
+    --edge top \
+    --tint 0x24242400 \
+    --align right \
+    --height 20 \
+    --expand false  \
+    --transparent true \
+    --alpha 0 \
+    --width 20  \
+    --monitor primary \
+    --widthtype request
+    # &>/dev/null
+
+
+