diff options
Diffstat (limited to 'dwm/lc')
-rwxr-xr-x | dwm/lc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ #!/bin/bash -Commands="update poweroff suspend set-keyboard caps-lock battery cups-website vim emacs htop scrot overleaf-render overleaf win pass wall stat" -statScripts="ram.sh status.sh net.sh mathiasServerPlayers.sh" +Commands="update poweroff suspend set-keyboard caps-lock battery cups-website vim emacs htop scrot overleaf-render overleaf win pass wall stat mic" +statScripts="ram.sh status.sh net.sh mic.sh" handle_stuff() { if [ "$1" = "--dmenu" ]; then @@ -52,6 +52,9 @@ handle_stuff() { if [ "$1" = "wall" ]; then feh --bg-fill Pictures/defaultWall.* fi + if [ "$1" = "mic" ]; then + amixer set Capture toggle + fi # Launch if [ "$1" = "vi" ] || [ "$1" = "vim" ]; then |