Browse Source

Sound finally works

master
Taylor Bockman 9 years ago
parent
commit
102b4787a9
  1. 8
      dotfiles/awesome/rc.lua
  2. 4
      dotfiles/zshrc

8
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),

4
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
}

Loading…
Cancel
Save