summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2021-09-05 15:15:12 +0100
committerrafa_99 <raroma09@gmail.com>2021-09-05 15:15:12 +0100
commit14f71b31679917f1b95d978c7546e850288a1200 (patch)
treec4887c9229a7a69ec7f4ce2839fd91b9528339de /scripts
parent213bae87af9ef8d30c115f33fb4be50d5d0547ea (diff)
Updated Dots with New Stuff
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/.local/bin/manuals6
-rwxr-xr-xscripts/.local/bin/yt3
2 files changed, 3 insertions, 6 deletions
diff --git a/scripts/.local/bin/manuals b/scripts/.local/bin/manuals
deleted file mode 100755
index 44279f5..0000000
--- a/scripts/.local/bin/manuals
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-# A script which lists all the manuals in the system
-# without the requiring a cronjob to run mandb
-MANPATH=/usr/share/man
-
-find "$MANPATH" -type f -printf '%f\n' | sed 's:.bz2::g;s:.gz::g' | sort | uniq | dmenu -i -p "Manual: "| xargs -I {} "$TERMINAL" -e man {}
diff --git a/scripts/.local/bin/yt b/scripts/.local/bin/yt
new file mode 100755
index 0000000..62e2a62
--- /dev/null
+++ b/scripts/.local/bin/yt
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+echo "<-" | dmenu -p "Youtube:" | xargs -I {} queryt -s "{}" | sed "s:\t: :g" | dmenu -l 10 -p "Video: " | awk '{print $1}' | xargs -I {} mpv --ytdl-format=22 "https://youtube.com/watch?v={}"