Skip to content

Commit

Permalink
profile: Don't set volume with amixer since Pulseaudio does better
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambrevar committed Jun 1, 2018
1 parent 4c49a2a commit a01a7e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .profile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ prependpath () {
## Use this to override system executables.
prependpath "${HOME}/personal/hackpool"

## TeXlive
## TeXlive -- TODO: Remove once guix has packaged it all properly.
TEXDIR="${TEXDIR:-/usr/local/texlive}"
if [ -d "${TEXDIR}" ]; then
TEXYEAR=$(/bin/ls -1r "${TEXDIR}" | grep -m1 "[0-9]\{4\}")
Expand Down Expand Up @@ -126,8 +126,8 @@ if [ "$(uname -o)" = "GNU/Linux" ] ; then
fi
fi

## Set sound volume.
amixer 2>/dev/null | grep -q PCM && amixer set PCM 100%
## Set sound volume. (Useless when running Pulseaudio.)
# amixer 2>/dev/null | grep -q PCM && amixer set PCM 100%

## External device auto-mounting.
## If already started, the new process will replace the old one.
Expand Down

0 comments on commit a01a7e2

Please sign in to comment.