Switched to straw-viewer for youtube. Linked it to youtube-viewer for people used to the old program.

This commit is contained in:
Storm Dragon 2020-04-05 23:58:00 -04:00
parent 6dd4f7ab36
commit d93629ec22
2 changed files with 8 additions and 1 deletions

View File

@ -261,8 +261,10 @@ systemd-nspawn -a -q -D $workdir/root\
bash -c "touch \$HOME/.firstboot"
# Link wormhole-william to wormhole so that it works as a drop-in replacement for magic-wormhole.
# Link straw-viewer so the syntax is the same as for youtube-viewer
systemd-nspawn -a -q -D $workdir/root\
ln /usr/bin/wormhole-william /usr/bin/wormhole
ln /usr/bin/wormhole-william /usr/bin/wormhole;\
ln /usr/bin/straw-viewer /usr/bin/youtube-viewer
# Write a system timestamp.
# This timestamp will determine which incremental updates apply to this image

View File

@ -10,3 +10,8 @@ alias userctl="systemctl --user "
alias menu="pdmenu -squn;dialog --infobox \"Press F10 to return to the menu\" 0 0"
alias pdmenu="pdmenu -squn;dialog --infobox \"Press F10 to return to the menu\" 0 0"
alias pacmd='sudo PULSE_RUNTIME_PATH=/var/run/pulse -u pulse pacmd'
# For when in console mode.
if [[ -z "$DISPLAY" ]]; then
alias straw-viewer='straw-viewer --no-video'
alias youtube-viewer='straw-viewer --no-video'
fi