From 82aab0ce29ea387b88991b574c5941d384939faf Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 12 Mar 2019 17:55:18 +0100 Subject: [PATCH] add compton and flashfocus to x startup if they exist --- .xinitrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.xinitrc b/.xinitrc index 7edb06b..1a7b5e2 100644 --- a/.xinitrc +++ b/.xinitrc @@ -48,4 +48,9 @@ setxkbmap -option terminate:ctrl_alt_bksp # Needs xcape package installed. https://github.com/alols/xcape type xcape >/dev/null 2>&1 && xcape -e 'Control_L=Escape' +# if compton exists then we can start it as our compositor +type compton >/dev/null 2>&1 && compton & +# same deal with flashfocus as our active window indicator +type flashfocus >/dev/null 2>&1 && flashfocus & + type i3 >/dev/null 2>&1 && exec i3