Now using ~/.Xresources.d
This allows for both easily splitting configuration files and for per-system configuration (for the latter, one need only put another file in the directory).org
parent
1c200677b6
commit
51f44a2759
|
@ -50,3 +50,5 @@ urxvt.modifier: alt
|
|||
! white
|
||||
*color7: #babdb6
|
||||
*color15: #d3d7cf
|
||||
|
||||
! vim: set ft=xdefaults:
|
15
xinitrc
15
xinitrc
|
@ -1,12 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
setxkbmap -option ctrl:nocaps
|
||||
xmodmap ~/.xmodmap
|
||||
xset mouse 5/0.1
|
||||
xsetroot -cursor_name arrow
|
||||
|
||||
# .Xresources is managed by software (e.g. Puppet) whereas .Xresources-local
|
||||
# may contain any system-specific configuration
|
||||
xrdb -merge ~/.Xresources
|
||||
test -f ~/.Xresources-local && xrdb -merge ~/.Xresources-local
|
||||
# .Xresources will be included by convention, but .Xresources.d should be used
|
||||
# instead; the latter will override the former
|
||||
xrd="$HOME/.Xresources.d"
|
||||
test -f ~/.Xresources && xrdb -merge ~/.Xresources
|
||||
test -d "$xrd" && {
|
||||
for xr in "$xrd"/*; do
|
||||
xrdb -merge "$xr"
|
||||
done
|
||||
}
|
||||
|
||||
# .xprofile is *not* managed by software (such as Puppet) and may therefore
|
||||
# be used for system-specific configuration
|
||||
|
|
Loading…
Reference in New Issue