summaryrefslogtreecommitdiff
path: root/scripts/.scripts/ddc-switch-inputs
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-09 22:58:10 +0100
committerdavidovski <david@davidovski.xyz>2021-10-09 22:58:10 +0100
commit49fff5a029e08f31941c75c19a72d7e7eb1ed172 (patch)
tree9cab74542e7302f47a9b8efbe5b1c674f9eb2150 /scripts/.scripts/ddc-switch-inputs
parent26d3e9c0db0b8591eba24de5437b3c75d9995064 (diff)
fixed scripts
Diffstat (limited to 'scripts/.scripts/ddc-switch-inputs')
-rwxr-xr-xscripts/.scripts/ddc-switch-inputs19
1 files changed, 0 insertions, 19 deletions
diff --git a/scripts/.scripts/ddc-switch-inputs b/scripts/.scripts/ddc-switch-inputs
deleted file mode 100755
index d85fed2..0000000
--- a/scripts/.scripts/ddc-switch-inputs
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-# Usage: ddc-switch-inputs 1
-case $1 in
- 1 )
- # Config 1: Main PC
- OUT=("0x0f" "0x20")
- ;;
- 2 )
- # Config 2: Virtual machine
- OUT=("0x11" "0x21")
- ;;
- * )
- echo "Unknown input '$1'"
- exit 1
- ;;
-esac
-
-ddcutil --bus=5 setvcp 60 ${OUT[0]} &
-wait