Switched to straw-viewer for youtube. Linked it to youtube-viewer for people used to the old program.
This commit is contained in:
parent
6dd4f7ab36
commit
d93629ec22
@ -261,8 +261,10 @@ systemd-nspawn -a -q -D $workdir/root\
|
|||||||
bash -c "touch \$HOME/.firstboot"
|
bash -c "touch \$HOME/.firstboot"
|
||||||
|
|
||||||
# Link wormhole-william to wormhole so that it works as a drop-in replacement for magic-wormhole.
|
# 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\
|
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.
|
# Write a system timestamp.
|
||||||
# This timestamp will determine which incremental updates apply to this image
|
# This timestamp will determine which incremental updates apply to this image
|
||||||
|
@ -10,3 +10,8 @@ alias userctl="systemctl --user "
|
|||||||
alias menu="pdmenu -squn;dialog --infobox \"Press F10 to return to the menu\" 0 0"
|
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 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'
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user