about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--scripts/videos9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/videos b/scripts/videos
new file mode 100644
index 0000000..118d8cd
--- /dev/null
+++ b/scripts/videos
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+choice=$(echo '' | dmenu -p "Paste a link to a video:" -sb "#222222") #Add text describing what its doing
+if [[ $choice == '' ]]; then
+  echo "No input."
+  exit 1
+else
+  mpv $choice
+fi