ambevar-dotfiles/.xprofile

30 lines
748 B
Plaintext
Raw Normal View History

#!/bin/sh
## This file is sourced by some DM and should not contain any desktop execution.
## X config (for URxvt, etc.)
[ -f "${HOME}/.Xresources" ] && xrdb -merge "${HOME}/.Xresources"
## Numlock
numlockx on
## Keymap
2014-03-16 21:49:34 +01:00
xkbcomp -I"$HOME/.xkb" "$HOME/.xkb/usim.xkb" $DISPLAY
2013-05-28 10:17:43 +02:00
## Disable Touchpad
synclient TouchpadOff=1
if [ "$OSTYPE" = "linux-gnu" ] ; then
## Set sound volume.
[ -n "$(amixer 2>/dev/null | grep PCM)" ] && amixer set PCM 100%
## External device auto-mounting.
command -v udiskie >/dev/null 2>&1 && udiskie &
fi
## This env variable is used by some programs (like ranger and awesome) to get
## terminal executable name.
export TERMCMD="urxvt"
2013-09-07 19:18:14 +02:00
## Hook. Should be sourced last
[ -f ~/.xprofile_hook ] && . ~/.xprofile_hook