summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJokler <jokler@protonmail.com>2020-01-10 02:43:27 +0100
committerJokler <jokler@protonmail.com>2020-01-10 02:43:27 +0100
commit767fbcb719e941d3b9a09b68c0a1c63dd2a57d30 (patch)
tree5588dcbcc45453b4631bf23af1d8fefac61b36fc
parentd6efe4e57f9b5f72e64bdf633cc4b94f96dd574e (diff)
downloaddotfiles-767fbcb719e941d3b9a09b68c0a1c63dd2a57d30.tar.gz
dotfiles-767fbcb719e941d3b9a09b68c0a1c63dd2a57d30.zip
Switch from compton to picom
-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..."