split off xinitrc stuff

This commit is contained in:
Mark Riedesel 2020-05-09 10:21:12 -05:00
parent c994735e1c
commit dd2b83199d
5 changed files with 53 additions and 3 deletions

13
_xinitrc/xinitrc.all Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
if_have() {
command -v $1 2>&1> /dev/null
}
if_have setxkbmap && { setxkbmap -option caps:swapescape & }
if_have compton && { compton & }
if_have wal && { wal -t -q -i ~/wallpaper & }
if_have lxsession && { lxsession -s i3 & }
if_have pnmixer && { pnmixer & }
if_have dropbox && { dropbox & }
if_have syncthing-gtk && { syncthing-gtk & }