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

3
.xsession Executable file
View File

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