ambevar-dotfiles/.xprofile

30 lines
870 B
Plaintext
Raw Normal View History

#!/bin/sh
################################################################################
## XPROFILE
## 2013-05-23
################################################################################
## This file is sourced by some DM and should not contain any desktop execution.
2013-06-04 08:51:17 +02:00
## 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.
2013-06-13 19:35:49 +02:00
setxkbmap usex
2013-06-11 16:28:37 +02:00
xmodmap ~/.xmodmap
2013-05-28 10:17:43 +02:00
if [ "$OSTYPE" = "linux-gnu" ] ; then
## Set sound volume.
[ -n "$(amixer 2>/dev/null | grep PCM)" ] && amixer set PCM 80%
## External device auto-mounting.
2013-05-26 20:51:52 +02:00
[ -n "$(command -v udiskie)" ] && udiskie &
fi
[ -d "$HOME/temp" ] && export TEMP="$HOME/temp"