diff options
author | Soispha <soispha@vhack.eu> | 2023-12-18 20:11:48 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-18 20:11:48 +0100 |
commit | 35af94aea4a7545f49b6425e0b5197efad7f4f83 (patch) | |
tree | c52d03631e64c7bcd48816efd79d555db17b6eb9 | |
parent | feat(hm/pkgs/src/lyrics): Init (diff) | |
download | nixos-config-35af94aea4a7545f49b6425e0b5197efad7f4f83.tar.gz nixos-config-35af94aea4a7545f49b6425e0b5197efad7f4f83.zip |
fix(hm/pkgs/src/lyrics): Use less instead of cat
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/lyrics | 2 |
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 |