summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/extra/ytplay2
-rwxr-xr-xbin/menuscripts/mpower2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/extra/ytplay b/bin/extra/ytplay
index 005cc2d..d87a6f9 100755
--- a/bin/extra/ytplay
+++ b/bin/extra/ytplay
@@ -1,4 +1,4 @@
#!/bin/sh
url="$(ytlink)"
herbe "playing: $url" &
-yt-dlp -S "res:1080" -o - "$url" | mpv -
+yt-dlp --no-playlist -S "res:1080" -o - "$url" | mpv -
diff --git a/bin/menuscripts/mpower b/bin/menuscripts/mpower
index 8c1a886..cccba94 100755
--- a/bin/menuscripts/mpower
+++ b/bin/menuscripts/mpower
@@ -3,11 +3,11 @@ choice="$(
cat <<EOF | commander -c -w 1 -y 5
poweroff
suspend
-hibernate
reboot
firmware
EOF
)"
+# hibernate
[ "$choice" = "firmware" ] && systemctl reboot --firmware-setup
[ "$choice" ] && systemctl "$choice"