about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-18 20:11:48 +0100
committerSoispha <soispha@vhack.eu>2023-12-18 20:11:48 +0100
commit35af94aea4a7545f49b6425e0b5197efad7f4f83 (patch)
treec52d03631e64c7bcd48816efd79d555db17b6eb9
parentfeat(hm/pkgs/src/lyrics): Init (diff)
downloadnixos-config-35af94aea4a7545f49b6425e0b5197efad7f4f83.tar.gz
nixos-config-35af94aea4a7545f49b6425e0b5197efad7f4f83.zip
fix(hm/pkgs/src/lyrics): Use less instead of cat
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/lyrics2
1 files changed, 1 insertions, 1 deletions
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