summaryrefslogtreecommitdiffstats
path: root/.config/i3/launch_picom.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3/launch_picom.sh')
-rwxr-xr-x.config/i3/launch_picom.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/i3/launch_picom.sh b/.config/i3/launch_picom.sh
new file mode 100755
index 0000000..1abc17e
--- /dev/null
+++ b/.config/i3/launch_picom.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# Terminate already running bar instances
+killall -q picom
+
+# Wait until the processes have been shut down
+while pgrep -u $UID -x picom >/dev/null; do sleep 1; done
+
+# Launch Polybar, using default config location ~/.config/polybar/config
+picom --invert-color-include '(class_g="weka-gui-GUIChooser")' &
+
+echo "picom launched..."