From 767fbcb719e941d3b9a09b68c0a1c63dd2a57d30 Mon Sep 17 00:00:00 2001 From: Jokler Date: Fri, 10 Jan 2020 02:43:27 +0100 Subject: Switch from compton to picom --- .config/i3/config | 2 +- .config/i3/launch_compton.sh | 12 ------------ .config/i3/launch_picom.sh | 12 ++++++++++++ 3 files changed, 13 insertions(+), 13 deletions(-) delete mode 100755 .config/i3/launch_compton.sh create mode 100755 .config/i3/launch_picom.sh 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_compton.sh deleted file mode 100755 index 1b2f5a1..0000000 --- a/.config/i3/launch_compton.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -# Terminate already running bar instances -killall -q compton - -# Wait until the processes have been shut down -while pgrep -u $UID -x compton >/dev/null; do sleep 1; done - -# Launch Polybar, using default config location ~/.config/polybar/config -compton & - -echo "compton launched..." 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..." -- cgit v1.2.3-70-g09d2