dotfiles/.xinitrc

32 lines
667 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
# the `-corners 000-` flag allows you to disable autolock when cursor is located at bottom right (e.g. when looking video)
/usr/bin/xautolock -time 2 -locker slock -corners 000- &
# set the backgroup
~/.fehbg
# launch dunst
#/usr/bin/dunst &
# Load X resources
xrdb ~/.Xresources
# launch spectrwm
exec spectrwm