#!/bin/sh setxkbmap -option ctrl:nocaps xmodmap ~/.xmodmap xset mouse 5/0.1 xsetroot -cursor_name arrow # .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 test -f ~/.xprofile && source ~/.xprofile # screensaver can be disabled by creating ~/.noscreensaver (not managed) test -f ~/.noscreensaver || { xscreensaver & xscreensaver-watchd 2>~/.xscreensaver-watch.log & } exec xmonad