Skip to content

Install NCspot via cargo

We don“t want to fill our ramdisk so we use our main drive instead to install NCSpot

mkdir -p ~/cargo-build
CARGO_TARGET_DIR=~/cargo-build cargo install ncspot \
	--locked \
	--no-default-features \
	--features alsa_backend,mpris,ncurses_backend

Once NCspot is compiled and ready we can copy the binary to /usr/local/bin

mv /root/.cargo/bin/ncspot /usr/local/bin/

Set NCSpot colors

cat << "EOF" > ~/.config/ncspot/config.toml
[global]
backend = "alsa"           
audio_cache = true
bitrate = 320
volnorm = false
gapless = true
use_nerdfont = false

[keybindings]
"+" = "volup 10"
"-" = "voldown 10"

[theme]
background = "transparent"
primary = "#ffffff"

secondary = "#dcdcdc"

title = "#d787ff"

playing = "#af87d7"
playing_selected = "#d7afff"
playing_bg = "#262626"

highlight = "#d7afff"
highlight_bg = "#262626"
highlight_inactive_bg = "#121212"

cmdline = "#ffffff"
cmdline_bg = "transparent"

error = "#ff0000"
error_bg = "transparent"

statusbar = "#af87d7"
statusbar_bg = "#1c1c1c"
statusbar_progress = "#af87d7"
statusbar_progress_bg = "#262626"
EOF