From 288098c1cff5f484ae85286f2bdf1a072544f2db Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 4 Aug 2018 13:58:58 -0400 Subject: [PATCH] tutorial videos list added into script --- .larbs/tutorialvids | 11 ----------- .scripts/tutorialvids | 15 ++++++++++++++- 2 files changed, 14 insertions(+), 12 deletions(-) delete mode 100644 .larbs/tutorialvids diff --git a/.larbs/tutorialvids b/.larbs/tutorialvids deleted file mode 100644 index 3289c13..0000000 --- a/.larbs/tutorialvids +++ /dev/null @@ -1,11 +0,0 @@ -status bar https://www.youtube.com/watch?v=gKumet6b-WY -feh -i3 -mutt https://www.youtube.com/watch?v=2U3vRbF7v5A -ncmpcpp https://www.youtube.com/watch?v=sZIEdI9TS2U -newsboat https://www.youtube.com/watch?v=dUFCRqs822w -ranger https://www.youtube.com/watch?v=L6Vu7WPkoJo -zathura -gpg keys https://www.youtube.com/watch?v=DMGIlj7u7Eo -calcurse https://www.youtube.com/watch?v=hvc-pHjbhdE -urlview https://www.youtube.com/watch?v=IgzpAjFgbCw diff --git a/.scripts/tutorialvids b/.scripts/tutorialvids index 9f53d17..8919438 100755 --- a/.scripts/tutorialvids +++ b/.scripts/tutorialvids @@ -1,3 +1,16 @@ #!/bin/sh +vidlist=" +status bar https://www.youtube.com/watch?v=gKumet6b-WY +feh +i3 +mutt https://www.youtube.com/watch?v=2U3vRbF7v5A +ncmpcpp https://www.youtube.com/watch?v=sZIEdI9TS2U +newsboat https://www.youtube.com/watch?v=dUFCRqs822w +ranger https://www.youtube.com/watch?v=L6Vu7WPkoJo +zathura +gpg keys https://www.youtube.com/watch?v=DMGIlj7u7Eo +calcurse https://www.youtube.com/watch?v=hvc-pHjbhdE +urlview https://www.youtube.com/watch?v=IgzpAjFgbCw +" -mpv $(grep -P "^$(grep https: ~/.larbs/tutorialvids | sed 's/\t.*//g' | dmenu -i -p "Learn about what? (ESC to cancel)" -l 5)\t" ~/.larbs/tutorialvids | sed 's/.*\t//') +mpv $(grep -P "^$(grep https: <<< $vidlist | sed 's/\t.*//g' | dmenu -i -p "Learn about what? (ESC to cancel)" -l 5)\t" <<<$vidlist | sed 's/.*\t//')