summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/scripts/music14
1 files changed, 14 insertions, 0 deletions
diff --git a/.local/bin/scripts/music b/.local/bin/scripts/music
new file mode 100755
index 0000000..f2e8697
--- /dev/null
+++ b/.local/bin/scripts/music
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Possible servers
+hosts="localhost
+desktop.lan
+laptop.lan"
+
+if [ -z "$1" ]; then
+ host=$(printf "$hosts" | dmenu -p "Choose host:" -i -l 5)
+else
+ host="$1"
+fi
+ncmpcpp -h $host
+