From 35af94aea4a7545f49b6425e0b5197efad7f4f83 Mon Sep 17 00:00:00 2001 From: Soispha Date: Mon, 18 Dec 2023 20:11:48 +0100 Subject: fix(hm/pkgs/src/lyrics): Use less instead of cat --- hm/soispha/pkgs/scripts/wrappers/lyrics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hm/soispha/pkgs') diff --git a/hm/soispha/pkgs/scripts/wrappers/lyrics b/hm/soispha/pkgs/scripts/wrappers/lyrics index 95096a28..22827caf 100755 --- a/hm/soispha/pkgs/scripts/wrappers/lyrics +++ b/hm/soispha/pkgs/scripts/wrappers/lyrics @@ -11,6 +11,6 @@ print " " > "$out" cd "$XDG_MUSIC_DIR" || die "No music dir!" mediainfo --Output=JSON "$(mpc --format '%file%' current)" | jq -r '.media.track[0].Lyrics' | sed 's|/|\n|g' >> "$out" ) -cat "$out" +less "$out" # vim: ft=sh -- cgit 1.4.1