1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

xorg: user configs are now loaded automatically

This commit is contained in:
2024-11-08 17:51:54 +01:00
parent 198144476c
commit da9fdab952
3 changed files with 21 additions and 14 deletions

View File

@@ -1,5 +1,12 @@
#!/bin/sh
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
xrandr --auto
[ -f "$HOME/.config/xorg/xprofile" ] && . "$HOME/.config/xorg/xprofile" # global autostart