瀏覽代碼

Move update and install scripts to a scripts directory. Add script to change volume when called.

Drew 12 年之前
父節點
當前提交
b7fb686251
共有 3 個文件被更改,包括 16 次插入0 次删除
  1. 0 0
      scripts/UpdateVimPlugins
  2. 0 0
      scripts/install
  3. 16 0
      scripts/volume-change.sh

+ 0 - 0
UpdateVimPlugins → scripts/UpdateVimPlugins


+ 0 - 0
install → scripts/install


+ 16 - 0
scripts/volume-change.sh

@@ -0,0 +1,16 @@
+#!/bin/bash
+
+step=3277
+
+if [[ $# -eq 1 ]]; then
+  case $1 in
+    "up")
+      amixer set Master $step+;;
+    "down")
+      amixer set Master $step-;;
+    "toggle")
+      amixer set Master toggle;;
+    *)
+      echo "Invalid option";;
+  esac
+fi