Move X11 config

master
Hektor Misplon 2022-01-07 03:14:05 +01:00
parent 8cb5ed0cee
commit 6b78636e1a
1 changed files with 2 additions and 3 deletions

View File

@ -1,11 +1,10 @@
#!/bin/sh #!/bin/sh
userresources=$HOME/.Xresources userresources=$HOME/.config/X11/Xresources
usermodmap=$HOME/.Xmodmap usermodmap=$HOME/.config/X11/Xmodmap
sysresources=/etc/X11/xinit/.Xresources sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then xrdb -merge $sysresources; fi if [ -f $sysresources ]; then xrdb -merge $sysresources; fi
if [ -f $sysmodmap ]; then xmodmap $sysmodmap; fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap; fi
if [ -f "$userresources" ]; then xrdb -merge "$userresources"; fi if [ -f "$userresources" ]; then xrdb -merge "$userresources"; fi