dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit be86d72beb5cee46435a6bd7a168c391319935aa
parent 6c8a9f76ac70749824f96eb67ccd55457dc2ff83
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri,  3 Aug 2018 16:51:22 -0400

tutorial vids script robustness

Diffstat:
M.larbs/tutorialvids | 5+++--
M.scripts/tutorialvids | 2+-
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.larbs/tutorialvids b/.larbs/tutorialvids @@ -1,4 +1,4 @@ -status_bar https://www.youtube.com/watch?v=gKumet6b-WY +status bar https://www.youtube.com/watch?v=gKumet6b-WY feh i3 mutt https://www.youtube.com/watch?v=2U3vRbF7v5A @@ -6,5 +6,6 @@ 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 +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 @@ -1,3 +1,3 @@ #!/bin/sh -mpv $(grep -P "^$(cat ~/.larbs/tutorialvids | grep https | awk '{print $1}' | dmenu -i -p "Learn about what? (ESC to cancel)" -l 5)\t" ~/.larbs/tutorialvids | awk '{print $2}') +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//')