~/.config/kew/kewrc
Configuration file on Linux, FreeBSD, and Android.
Configuration file for kew
Part of kewrc(5).
~/.config/kew/kewrc (Linux/FreeBSD/Android), ~/Library/Preferences/kew/kewrc (macOS)
kewrc is the configuration file for kew(1), a terminal music player. It is written in INI-style syntax, divided into named sections enclosed in square brackets, each containing key=value pairs. Lines beginning with # are comments.
kew does not write to this file except when the path command is run. Runtime changes made from within the application are instead tracked in kewstaterc(5), whose settings take precedence over the corresponding values in kewrc.
If kewrc is deleted, kew regenerates it on next launch with all available settings and their defaults.
Settings in the [miscellaneous] section.
path pathPath to the music library directory. Default: ~/Music.
useArtistsDb boolEnable the artist database, which provides clickable artist links in track view. Default: 1.
allowNotifications boolEnable desktop notifications. Default: 1.
stripTrackNumbers boolRemove leading track numbers from file names as displayed in the library and playlist views. Default: 1.
searchHierarchy boolAllow search terms to match in order across directory and file names. Default: 0.
hideLogo boolHide the kew logo. Default: 0.
hideHelp boolHide the help line. Default: 0.
hideFooter boolHide the footer. Default: 0.
hideTimeStatus boolHide the track time line from track view. Default: 0.
simpleTimeStatus boolToggle display of kHz and bitrate alongside the time status. Default: 1.
hideSideCover boolHide the cover art shown on the left-hand side when a song is playing, in most views. Default: 0.
collapseTopLevel boolShow only top-level folders in the library view. Default: 0.
autoCloseFolders boolClose opened folders when navigating away in Library and Search. Set to 0 to keep multiple folders open until each is closed. Default: 1.
autoResume boolResume the last playing song automatically when kew starts. Default: 0.
titleDelay boolEnable the animated (scrolling) song title. Set to 0 to disable. Default: 1.
quitOnStop boolExit kew after the whole playlist has finished playing. Equivalent to the --quitonstop command-line flag. Default: 0.
clearListClearsAll boolWhether clearing the playlist also removes the currently playing song. Default: 1.
hideGlimmeringText boolHide the glimmering text effect on the bottom row. Default: 0.
replayGainCheckFirst intWhich ReplayGain value to check first.
track
album
disabled
auto
Default: 3.
saveRepeatShuffleSettings boolPersist the repeat and shuffle state between sessions. Default: 0.
repeatState intRepeat mode.
off
repeat track
repeat list
Default: 0.
shuffleEnabled boolEnable shuffle playback. Default: 0.
trackTitleAsWindowTitle boolSet the terminal window title to the title of the currently playing track. Default: 1.
Settings in the [colors] section.
theme nameName of the theme file to load, located in ~/.config/kew/themes (Linux/FreeBSD/Android) or ~/Library/Preferences/kew/themes (macOS). Empty selects the default theme.
colorMode intSelects the source of the color palette.
16-bit color palette from the default theme
colors derived from the One Album Color theme
colors derived from the TrueColor theme
colors derived from the Album Colors theme
neutral, devoid of color
Default: 3.
Settings in the [crossfade] section.
|
Crossfade at the end of every song. Default: 0. |
|---|---|
|
Fade in a song starting at this track time, in milliseconds. Default: 0. |
|
Duration, in milliseconds, of a quick fade. Default: 3000. |
|
Duration, in milliseconds, of a medium fade. Default: 5000. |
|
Duration, in milliseconds, of a slow fade. Default: 10000. |
Settings in the [track cover] section.
coverEnabled boolEnable rendering of cover art. Default: 1.
coverAnsi boolRender covers using ASCII/ANSI art mode. Default: 0.
coverStyle styleCover art render style. One of auto, kitty, sixels, block, braille, ascii, dot, vhalf, or quad. Default: auto.
Settings in the [mouse] section.
mouseEnabled boolEnable mouse support. Default: 1.
Settings in the [discord] section.
discordRPCEnabled boolShow now-playing status via Discord Rich Presence. Note that enabling this reveals your listening habits to Discord. Default: 0.
Settings in the [chroma] section.
chromaPath pathPath to visualizer presets.
chromaDevice nameName of the audio device that Chroma should use, for example Pipewire Server.
visualizationsMode boolPreferred visualizations mode. Either 0 for ASCII or 1 for sixels. Chroma is ASCII only.
visualizationsFps intVisualizations frame per second.
visualizationsShowPresetInfo boolShow preset author and name, works for pmstream. Either 1 for show or 0 for not showing.
Settings in the [visualizer] section.
visualizerColorType intVisualizer color mode.
lighten
flat
reversed lighten
party
vibrant
lum vibrant
binning
two color gradient
off
Default: 3.
visualizerHeight nHeight of the visualizer, in rows. Default: 6.
visualizerBrailleMode boolRender the visualizer using Braille dots instead of bars. Default: 0.
visualizerBarWidth intBar width mode.
thin bars
bars twice the width
auto (depends on window size)
Default: 2.
Settings in the [progress bar] section, controlling the appearance of the track progress bar. Each character setting takes a single glyph (which may be an empty space); even/odd variants let the bar alternate between two glyphs across its length. When editing, always supply every value, including any that are blank spaces, or the bar's appearance will be corrupted.
|
Glyph for even-indexed positions already elapsed. Default: −(U+2501). |
|---|---|
|
Glyph for odd-indexed positions already elapsed. Default: −(U+2501). |
|
Glyph for even-indexed positions not yet reached. Default: −(U+2501). |
|
Glyph for odd-indexed positions not yet reached. Default: −(U+2501). |
|
Glyph for the current position when on an even index. Default: −(U+2501). |
|
Glyph for the current position when on an odd index. Default: −(U+2501). |
Commented-out presets are provided in the generated file as examples, including a "pill muncher" style (using • (ᗧ) glyphs) and a dotted style using □ characters; uncomment and adapt a full set of six values to switch styles.
The [key bindings] section holds custom key binding assignments.
Enter is bound to expandFolder by default. It opens a selected folder; pressing it again enqueues or dequeues that folder. If both actions are explicitly bound to the same key, expandFolder takes precedence so the first press still opens the folder. The collapseFolder and switchSearchFocus actions have no default binding. The latter toggles between editing the search query and navigating results with printable keys. To enable them, add bindings such as:
bind = Shift+e, collapseFolder
bind = Ctrl+f, switchSearchFocus
Note: Ctrl+h , Ctrl+i , and Ctrl+m are indistinguishable from Backspace, Tab, and Enter respectively at the terminal level, and cannot be bound separately from them.
~/.config/kew/kewrc
Configuration file on Linux, FreeBSD, and Android.
~/Library/Preferences/kew/kewrc
Configuration file on macOS.
~/.config/kew/themes
~/Library/Preferences/kew/themes
Directories where theme files are looked up.