aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/x.sh
blob: ed921c682fdd555da89f5b3382c147bf65e66500 (plain)
1
2
3
4
5
6
7
# Most systems won't have X, so we'll only define this if we have startx(1)
command -v startx >/dev/null 2>&1 || return

# Quick one-key command to launch an X session
x() {
    exec startx "$@"
}