dotfiles/old/_xinitrc/xinitrc.all

13 lines
347 B
Bash
Executable file

#!/bin/sh
if_have() {
command -v $1 2>&1> /dev/null
}
if_have setxkbmap && { setxkbmap -option caps:swapescape & }
if_have picom && { picom & }
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 & }