25 lines
680 B
Bash
25 lines
680 B
Bash
#!/bin/sh
|
|
################################################################################
|
|
## XPROFILE
|
|
## 2013-05-23
|
|
################################################################################
|
|
|
|
## This file is sourced by some DM and should not contain any desktop execution.
|
|
|
|
## Config (for URxvt)
|
|
[ -f "${HOME}/.Xresources" ] && xrdb -merge "${HOME}/.Xresources"
|
|
|
|
## Numlock
|
|
numlockx on
|
|
|
|
if [ "$OSTYPE" = "linux-gnu" ] ; then
|
|
## Set sound volume.
|
|
[ -n "$(amixer 2>/dev/null | grep PCM)" ] && amixer set PCM 80%
|
|
|
|
## External device auto-mounting.
|
|
[ -n "$(comand -v udiskie)" ] && udiskie &
|
|
fi
|
|
|
|
## Environment
|
|
[ -f ~/.shell.d/main_rc ] && . ~/.shell.d/main_rc
|