summaryrefslogtreecommitdiff
path: root/dwm/lc
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2019-04-19 09:59:31 +0200
committerJulian T <julian@jtle.dk>2019-04-19 09:59:31 +0200
commit1d500d606443c2d76f562390b5b259615937d1f3 (patch)
treea6098024ef00292af4b2e9c6ff40f9224b6a1368 /dwm/lc
parent52c73c017762b8b95e511e4516aae06c83c4ed97 (diff)
Fixed error when opening normal vim, and added tigrc
Diffstat (limited to 'dwm/lc')
-rwxr-xr-xdwm/lc7
1 files changed, 5 insertions, 2 deletions
diff --git a/dwm/lc b/dwm/lc
index dadf470..a53aa6d 100755
--- a/dwm/lc
+++ b/dwm/lc
@@ -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