1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Migrate .xinitrc to .xsession for lightdm compat

This commit is contained in:
Joe Groocock 2016-04-16 18:03:56 +01:00
parent eb45702e23
commit d5d1c2552b
2 changed files with 14 additions and 11 deletions

View File

@ -2,18 +2,18 @@
xrdb -merge ~/.Xresources
# start some 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
# Run all system xinitrc shell scripts
xinitdir="/etc/X11/xinit/xinitrc.d"
if [ -d "$xinitdir" ]; then
for script in $xinitdir/*; do
echo "Loading xinit script $script"
if [ -x "$script" -a ! -d "$script" ]; then
. "$script"
fi
done
fi
setxkbmap -option caps:none
xset r rate 200 16
xbindkeys &
xrandr --dpi 96
./.profile
./.xsession
exec i3

3
.xsession Executable file
View File

@ -0,0 +1,3 @@
setxkbmap -option caps:none
xset r rate 200 18
xrandr --dpi 96