dotfiles/.xinitrc

32 lines
667 B
Plaintext
Raw Permalink Normal View History

2020-12-01 02:27:42 +01:00
#! /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- &
2020-12-01 02:27:42 +01:00
# set the backgroup
~/.fehbg
# launch dunst
#/usr/bin/dunst &
2020-12-01 02:27:42 +01:00
# Load X resources
xrdb ~/.Xresources
2020-12-01 02:27:42 +01:00
# launch spectrwm
exec spectrwm