kew(1)

🌸 kew(1) β€” the manual, but make it cute

okay so real talk: this is the manual page for kew (yes, from General Commands Manual, the iconic one), and it's about to be your new favorite thing. sit down, grab a lil snack πŸ“, and let's get into it.


✨ NAME ✨

kew, kew β€” Music For The Shell. that's it. that's the whole name. she's a music player that lives in your terminal and she slays. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

kew [OPTIONS] [PARTIAL FILE OR DIRECTORY NAME]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: kew plays audio from your music folder when you give it a partial (or whole) file or directory name. that's the whole trick, no cap. 🎧

and like β€” if it finds more than one file? it literally just makes a playlist for you. main character energy. ✨

the technical flexes, because she's not just pretty:

  • gapless playback πŸ”₯
  • 24-bit/192khz audio
  • MPRIS support (so your desktop knows what's playing, iykyk)

the typical use case, bestie:

kew artist, album or song name
⚠️ important detail, don't skip this one: kew returns results from the location of the first match β€” it does not return every result possible. so it's giving "first come first served," not "here's everything, you pick." πŸ™ˆ

πŸ’– OPTIONS πŸ’–

okay here's the full menu, no skips, no cuts:

  • -h, --help β€” shows you the help. the classic. 🫢
  • -v, --version β€” spills the version info.
  • path <path> β€” sets the path to your music library. tell her where the bops live.
  • --nocover β€” hides the cover art. minimalism era.
  • --noui β€” completely hides the UI. fully gone. ghost mode πŸ‘»
  • -q, --quitonstop β€” exits after playing the whole playlist. she leaves when the playlist's done, dignity intact.
  • -e, --exact β€” specifies you want an exact match β€” but not case sensitive. so like, exact, but make it chill. ✨
  • shuffle β€” shuffles the playlist before starting to play it. chaos mode: enabled. πŸ”€
  • dir β€” plays the directory, not the song.
  • song β€” plays the song, not the directory. (yes, this is the opposite of dir, no I'm not kidding, they're a matched set πŸ’€)
  • play <path> β€” plays a song or loads a directory one time without changing the default library. a lil visit, not a move-in.
  • theme <theme name> β€” sets a theme from ~/<configfolder>/kew/themes. aesthetic upgrade incoming πŸŽ€
  • list β€” searches for a (.m3u) playlist. these are normally not included in searches, so you gotta ask specifically.

🌈 EXAMPLES 🌈

these are literally the cheat codes, copy them, screenshot them, tattoo them:

kew

starts kew in library view. the classic entrance.

kew all

starts kew with all the songs loaded into a playlist. all of them. every single one. πŸ”₯

kew albums

starts kew with all albums randomly added one after the other in the playlist. lil surprise every time.

kew moonlight son

plays moonlight sonata. 🎹

kew moon

plays moonlight sonata. (see? partial names, bestie. she gets it.)

kew nirv

plays all music under the Nirvana folder, shuffled. 🎸

kew neverm

plays the Nevermind album in alphabetical order.

kew shuffle neverm

plays the Nevermind album shuffled. chaos version.

kew list mix

plays the mix.m3u playlist.

kew theme midnight

sets the 'midnight.theme' theme. midnight era activated πŸŒ™

kew <words A>:<words B>:<words C>

plays the first match (whole directory or file) found under A, B, and C, shuffled. searches are separated by a colon ':' character. so like, colon = "and also look here." 🫢

kew .

plays the "kew favorites.m3u" playlist. the dot is the secret handshake.


πŸ‘‘ KEY BINDINGS πŸ‘‘

the whole keyboard is basically a controller, let's go:

  • + (or =), - β€” adjusts volume. πŸ”Š
  • Left-right arrows / h, l β€” change song.
  • Enter β€” open a selected folder; press again to enqueue or dequeue it.
  • Space β€” play, pause. the most-used key, fr fr.
  • Shift+s β€” stop.
  • F2 or Shift+z β€” show playlist view.
  • F3 or Shift+x β€” show library view.
  • F4 or Shift+c β€” show track view.
  • F5 or Shift+v β€” show search view.
  • F6 or Shift+n β€” show help view.
  • u β€” update the library.
  • i β€” cycle color mode. 🌈
  • t β€” cycle themes.
  • c β€” cycle visualization (requires that Chroma or pmstream is installed). πŸ‘€
  • r β€” cycle repeat (repeat, repeat list or off).
  • v β€” cycle spectrum visualizer mode and turn visualizer off.
  • b β€” toggle ASCII Cover. also disables visualizations.
  • m β€” toggle lyrics page.
  • n β€” toggle notifications.
  • z β€” toggle crossfade (experimental).
  • s β€” toggle shuffle.
  • a β€” seek backward.
  • d β€” seek forward.
  • m β€” show lyrics page. (yes, m is listed twice in the original and we're honoring that, she contains multitudes πŸ’€)
  • shift+d β€” crossfade (quick).
  • shift+f β€” crossfade (medium).
  • shift+g β€” crossfade (slow).
  • x β€” save currently loaded playlist to a .m3u file in the music folder.
  • "." β€” add currently playing song to "kew favorites.m3u" playlist. play this list with "kew .".
  • Tab β€” switch to next view.
  • Shift+Tab β€” switch to previous view.
  • Backspace β€” clear the playlist. 😭
  • Delete β€” remove a single playlist entry.
  • f, g β€” move a song up or down the playlist.
  • Esc or q β€” quit kew. bye bestie 🫢

🧚 FILES 🧚

where she keeps her stuff:

  • ~/<configfolder>/kew/kewrc β€” config file.
  • ~/<statefolder>/kew/kewstaterc β€” dynamic preferences file, ~/.local/state/kew/kewstaterc on Linux.
  • ~/<configfolder>/kew/kewlibrary β€” music library directory tree cache.
  • /<musicfolder>/kew favorites.m3u β€” the kew playlist. add to it by pressing '.' during playback of any song. this playlist is saved before q exits.

Copyright Β© 2023 Ravachol. License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Artist names and homepage URLs sourced from Wikidata <https://www.wikidata.org/>. Wikidata is licensed under CC BY-SA 4.0. Adapted data is also available under CC BY-SA 4.0.


⭐ SEE ALSO ⭐

Website: <https://www.kewplayer.com>

Development home pages:

<https://codeberg.org/ravachol/kew>

<https://github.com/ravachol/kew> (Mirror)

Donate here:

<https://ko-fi.com/ravachol>

<https://github.com/sponsors/ravachol>


and that's the whole page, bestie 🫢 this masterpiece dropped 9/3/23 on Linux, and it's the kew(1) manual β€” go listen to something iconic. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from