From c3caf5109bbbaa729142ea78fb69d2aab60a2734 Mon Sep 17 00:00:00 2001 From: The_miro Date: Wed, 20 Nov 2024 01:12:57 +0100 Subject: [PATCH] added spotify tui --- hyprland-full-install-script.sh | 1 + spotify-tui/config.yml | 73 +++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 spotify-tui/config.yml diff --git a/hyprland-full-install-script.sh b/hyprland-full-install-script.sh index ca51b45..e6fdb56 100644 --- a/hyprland-full-install-script.sh +++ b/hyprland-full-install-script.sh @@ -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" diff --git a/spotify-tui/config.yml b/spotify-tui/config.yml new file mode 100644 index 0000000..dbd36b2 --- /dev/null +++ b/spotify-tui/config.yml @@ -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"