summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/i3/config2
-rwxr-xr-x.config/i3/launch_picom.sh (renamed from .config/i3/launch_compton.sh)8
2 files changed, 5 insertions, 5 deletions
diff --git a/.config/i3/config b/.config/i3/config
index d25769b..6c4e4f7 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -278,5 +278,5 @@ exec --no-startup-id pasystray
# These get restarted with i3 to reload their config files
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
-exec_always --no-startup-id $HOME/.config/i3/launch_compton.sh
+exec_always --no-startup-id sleep 3 && $HOME/.config/i3/launch_picom.sh
exec_always --no-startup-id nitrogen --restore
diff --git a/.config/i3/launch_compton.sh b/.config/i3/launch_picom.sh
index 1b2f5a1..1abc17e 100755
--- a/.config/i3/launch_compton.sh
+++ b/.config/i3/launch_picom.sh
@@ -1,12 +1,12 @@
#!/bin/bash
# Terminate already running bar instances
-killall -q compton
+killall -q picom
# Wait until the processes have been shut down
-while pgrep -u $UID -x compton >/dev/null; do sleep 1; done
+while pgrep -u $UID -x picom >/dev/null; do sleep 1; done
# Launch Polybar, using default config location ~/.config/polybar/config
-compton &
+picom --invert-color-include '(class_g="weka-gui-GUIChooser")' &
-echo "compton launched..."
+echo "picom launched..."