From 102b4787a9684879344a3a24ed4d89333fe4b404 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Mon, 7 Sep 2015 15:03:29 -0700 Subject: [PATCH] Sound finally works --- dotfiles/awesome/rc.lua | 8 ++++---- dotfiles/zshrc | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dotfiles/awesome/rc.lua b/dotfiles/awesome/rc.lua index 116ca72..e0fa1fc 100644 --- a/dotfiles/awesome/rc.lua +++ b/dotfiles/awesome/rc.lua @@ -514,22 +514,22 @@ globalkeys = awful.util.table.join( -- ALSA volume control awful.key({ altkey }, "Up", function () - os.execute(string.format("amixer set %s 1%%+", volumewidget.channel)) + os.execute(string.format("amixer -D pulse set %s 1%%+", volumewidget.channel)) volumewidget.update() end), awful.key({ altkey }, "Down", function () - os.execute(string.format("amixer set %s 1%%-", volumewidget.channel)) + os.execute(string.format("amixer -D pulse set %s 1%%-", volumewidget.channel)) volumewidget.update() end), awful.key({ altkey }, "m", function () - os.execute(string.format("amixer set %s toggle", volumewidget.channel)) + os.execute(string.format("amixer -D pulse set %s toggle", volumewidget.channel)) volumewidget.update() end), awful.key({ altkey, "Control" }, "m", function () - os.execute(string.format("amixer set %s 100%%", volumewidget.channel)) + os.execute(string.format("amixer -D pulse set %s 100%%", volumewidget.channel)) volumewidget.update() end), diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 4c2f297..8d8fae4 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -37,6 +37,10 @@ export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting PATH=$PATH:~/.cabal/bin PATH=$PATH:.cabal-sandbox/bin +# Git Town +PATH=$PATH:~/git-town/src +MANPATH=$MANPATH:~/git-town/man + precmd(){ vcs_info }