added spotify tui

main
The_miro 2024-11-20 01:12:57 +01:00
parent b9b4a79fcd
commit c3caf5109b
2 changed files with 74 additions and 0 deletions

View File

@ -61,6 +61,7 @@ ln -s ~/Dotfiles/.zshrc ~/.zshrc
ln -s ~/Dotfiles/starship.toml ~/.config/starship.toml
ln -s ~/Dotfiles/micro/ ~/.config/micro
ln -s ~/Dotfiles/yazi/ ~/.config/yazi
ln -s ~/Dotfiles/spotify-tui/config.yml ~/.config/spotify-tui/config.yml
#final reboot
echo "Press any key to reboot"

73
spotify-tui/config.yml Normal file
View File

@ -0,0 +1,73 @@
# Sample config file
# The theme colours can be an rgb string of the form "255, 255, 255" or a string that references the colours from your terminal theme: Reset, Black, Red, Green, Yellow, Blue, Magenta, Cyan, Gray, DarkGray, LightRed, LightGreen, LightYellow, LightBlue, LightMagenta, LightCyan, White.
theme:
active: "228, 0, 70" # current playing song in list
banner: "228, 0, 70" # the "spotify-tui" banner on launch
error_border: "228, 0, 70" # error dialog border
error_text: "228, 0, 70" # error message text (e.g. "Spotify API reported error 404")
hint: "228, 0, 70" # hint text in errors
hovered: "228, 0, 70" # hovered pane border
inactive: "80, 24, 221" # borders of inactive panes
playbar_background: "80, 24, 221" # background of progress bar
playbar_progress: "228, 0, 70" # filled-in part of the progress bar
playbar_progress_text: "228, 0, 70" # song length and time played/left indicator in the progress bar
playbar_text: "80, 24, 221" # artist name in player pane
selected: "228, 0, 70" # a) selected pane border, b) hovered item in list, & c) track title in player
text: "80, 24, 221" # text in panes
header: "80, 24, 221" # header text in panes (e.g. 'Title', 'Artist', etc.)
behavior:
seek_milliseconds: 5000
volume_increment: 10
# The lower the number the higher the "frames per second". You can decrease this number so that the audio visualisation is smoother but this can be expensive!
tick_rate_milliseconds: 250
# Enable text emphasis (typically italic/bold text styling). Disabling this might be important if the terminal config is otherwise restricted and rendering text escapes interferes with the UI.
enable_text_emphasis: true
# Controls whether to show a loading indicator in the top right of the UI whenever communicating with Spotify API
show_loading_indicator: true
# Disables the responsive layout that makes the search bar smaller on bigger
# screens and enforces a wide search bar
enforce_wide_search_bar: false
# Determines the text icon to display next to "liked" Spotify items, such as
# liked songs and albums, or followed artists. Can be any length string.
# These icons require a patched nerd font.
liked_icon:
shuffle_icon: 🔀
repeat_track_icon: 🔂
repeat_context_icon: 🔁
playing_icon:
paused_icon:
# Sets the window title to "spt - Spotify TUI" via ANSI escape code.
set_window_title: true
keybindings:
# Key stroke can be used if it only uses two keys:
# ctrl-q works,
# ctrl-alt-q doesn't.
back: "ctrl-q"
jump_to_album: "a"
# Shift modifiers use a capital letter (also applies with other modifier keys
# like ctrl-A)
jump_to_artist_album: "A"
manage_devices: "d"
decrease_volume: "-"
increase_volume: "+"
toggle_playback: " "
seek_backwards: "<"
seek_forwards: ">"
next_track: "n"
previous_track: "p"
copy_song_url: "c"
copy_album_url: "C"
help: "?"
shuffle: "ctrl-s"
repeat: "r"
search: "/"
audio_analysis: "v"
jump_to_context: "o"
basic_view: "B"
add_item_to_queue: "z"