#!/bin/sh ################################################################################ ## XPROFILE ## 2013-05-23 ################################################################################ ## This file is sourced by some DM and should not contain any desktop execution. ## Env vars and general config. [ -f "$HOME/.profile" ] && . "$HOME/.profile" ## X config (for URxvt, etc.) [ -f "${HOME}/.Xresources" ] && xrdb -merge "${HOME}/.Xresources" ## Numlock numlockx on ## Keymap. Only useful on multi-user environment where users have different keymaps. setxkbmap usex xmodmap ~/.xmodmap if [ "$OSTYPE" = "linux-gnu" ] ; then ## Set sound volume. [ -n "$(amixer 2>/dev/null | grep PCM)" ] && amixer set PCM 80% ## External device auto-mounting. [ -n "$(command -v udiskie)" ] && udiskie & fi [ -d "$HOME/temp" ] && export TEMP="$HOME/temp"