dotfiles/.xinitrc

28 lines
490 B
Bash

#! /usr/bin/env bash
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# set the keyboard using the X keyboard extension
/usr/bin/setxkbmap fr
# activate numlock on bootup
/usr/bin/numlockx
# fire up xautolock in case of inactivity under X
/usr/bin/xautolock -time 3 -locker slock &
# set the backgroup
~/.fehbg
# launch dunst
/usr/bin/dunst &
# launch spectrwm
exec spectrwm