diff options
author | rafa_99 <raroma09@gmail.com> | 2021-09-05 15:15:12 +0100 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2021-09-05 15:15:12 +0100 |
commit | 14f71b31679917f1b95d978c7546e850288a1200 (patch) | |
tree | c4887c9229a7a69ec7f4ce2839fd91b9528339de /scripts | |
parent | 213bae87af9ef8d30c115f33fb4be50d5d0547ea (diff) |
Updated Dots with New Stuff
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/.local/bin/manuals | 6 | ||||
-rwxr-xr-x | scripts/.local/bin/yt | 3 |
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={}" |