소스 검색

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