Prechádzať zdrojové kódy

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

Drew 12 rokov pred
rodič
commit
b7fb686251
3 zmenil súbory, kde vykonal 16 pridanie a 0 odobranie
  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