add compton and flashfocus to x startup if they exist
This commit is contained in:
parent
83a74058c8
commit
82aab0ce29
1 changed files with 5 additions and 0 deletions
5
.xinitrc
5
.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
|
||||
|
|
Loading…
Reference in a new issue