profile: Don't set volume with amixer since Pulseaudio does better
parent
4c49a2ac4d
commit
a01a7e2297
6
.profile
6
.profile
|
@ -40,7 +40,7 @@ prependpath () {
|
||||||
## Use this to override system executables.
|
## Use this to override system executables.
|
||||||
prependpath "${HOME}/personal/hackpool"
|
prependpath "${HOME}/personal/hackpool"
|
||||||
|
|
||||||
## TeXlive
|
## TeXlive -- TODO: Remove once guix has packaged it all properly.
|
||||||
TEXDIR="${TEXDIR:-/usr/local/texlive}"
|
TEXDIR="${TEXDIR:-/usr/local/texlive}"
|
||||||
if [ -d "${TEXDIR}" ]; then
|
if [ -d "${TEXDIR}" ]; then
|
||||||
TEXYEAR=$(/bin/ls -1r "${TEXDIR}" | grep -m1 "[0-9]\{4\}")
|
TEXYEAR=$(/bin/ls -1r "${TEXDIR}" | grep -m1 "[0-9]\{4\}")
|
||||||
|
@ -126,8 +126,8 @@ if [ "$(uname -o)" = "GNU/Linux" ] ; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Set sound volume.
|
## Set sound volume. (Useless when running Pulseaudio.)
|
||||||
amixer 2>/dev/null | grep -q PCM && amixer set PCM 100%
|
# amixer 2>/dev/null | grep -q PCM && amixer set PCM 100%
|
||||||
|
|
||||||
## External device auto-mounting.
|
## External device auto-mounting.
|
||||||
## If already started, the new process will replace the old one.
|
## If already started, the new process will replace the old one.
|
||||||
|
|
Loading…
Reference in New Issue