Explorar o código

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

Drew %!s(int64=12) %!d(string=hai) anos
pai
achega
b7fb686251
Modificáronse 3 ficheiros con 16 adicións e 0 borrados
  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