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
|
2021-04-24 21:54:25 +02:00
|
|
|
# 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
|
2021-04-24 21:54:25 +02:00
|
|
|
#/usr/bin/dunst &
|
2020-12-01 02:27:42 +01:00
|
|
|
|
|
|
|
# launch spectrwm
|
|
|
|
exec spectrwm
|