add compton and flashfocus to x startup if they exist

This commit is contained in:
Marty Oehme 2019-03-12 17:55:18 +01:00
parent 83a74058c8
commit 82aab0ce29

View file

@ -48,4 +48,9 @@ setxkbmap -option terminate:ctrl_alt_bksp
# Needs xcape package installed. https://github.com/alols/xcape # Needs xcape package installed. https://github.com/alols/xcape
type xcape >/dev/null 2>&1 && xcape -e 'Control_L=Escape' 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 type i3 >/dev/null 2>&1 && exec i3