summaryrefslogtreecommitdiffstats
path: root/.config/i3/launch_picom.sh
blob: 1abc17e2d8c819ae475d41c61a5ea8e5db0384ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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..."