bugfixes and improved themeing support
This commit is contained in:
118
share/theme/simple.sh
Normal file
118
share/theme/simple.sh
Normal file
@@ -0,0 +1,118 @@
|
||||
# Simple theme without emojis
|
||||
|
||||
# Colors (internal only)
|
||||
ESC=$(printf '\033')
|
||||
RED="${ESC}[31m"
|
||||
GREEN="${ESC}[32m"
|
||||
YELLOW="${ESC}[33m"
|
||||
BLUE="${ESC}[34m"
|
||||
PURPLE="${ESC}[35m"
|
||||
CYAN="${ESC}[36m"
|
||||
WHITE="${ESC}[37m"
|
||||
OFF="${ESC}[m"
|
||||
|
||||
# Pointers
|
||||
# ========
|
||||
# Sign that indicates the existence of audio files
|
||||
FORMAT_LOCAL="${BLUE}|>$OFF"
|
||||
# Pointer to the track currently playing (playlist)
|
||||
FORMAT_CURRENT="${WHITE}-->$OFF"
|
||||
|
||||
# Input prompts
|
||||
# =============
|
||||
# General search prompt
|
||||
SEARCH_PROMPT="search: "
|
||||
# Prompt that takes an artist name as argument
|
||||
ARTIST_PROMPT="artist: %s: "
|
||||
# Prompt that takes an artist name and a release name as arguments (in that
|
||||
# order)
|
||||
FULL_PROMPT="artist: %s / %s: "
|
||||
|
||||
# Visual representation of current mode
|
||||
# =====================================
|
||||
# Sign to indicate `normal` mode
|
||||
PROMPT_NORMAL="n)"
|
||||
# Sign to indicate `insert` mode
|
||||
PROMPT_INSERT="i)"
|
||||
|
||||
# Artist view
|
||||
# ===========
|
||||
# Artist string for persons
|
||||
AV_PERSON="(P) ${CYAN}<<name>>$OFF"
|
||||
# Artist string for groups
|
||||
AV_GROUP="(G) ${CYAN}<<name>>$OFF"
|
||||
# Artist disambiguation string
|
||||
AV_DISAMBIGUATION="// <<disambiguation>>"
|
||||
|
||||
# Release-group view
|
||||
# ==================
|
||||
# Default release group string
|
||||
RGV_RELEASE="${PURPLE}<<title>>$OFF"
|
||||
# Release group string if the artist name differs from the current artist
|
||||
RGV_RELEASE_W_ARTIST="${PURPLE}<<title>>$OFF by ${CYAN}<<artist>>$OFF"
|
||||
# Year of the release group
|
||||
RGV_YEAR="[<<year>>]"
|
||||
|
||||
# Release-group types
|
||||
# ===================
|
||||
# Album
|
||||
FORMAT_TYPE_ALBUM="${YELLOW}LP$OFF"
|
||||
# EP
|
||||
FORMAT_TYPE_EP="${YELLOW}EP$OFF"
|
||||
# Single
|
||||
FORMAT_TYPE_SINGLE="${YELLOW}Single$OFF"
|
||||
# Broadcast
|
||||
FORMAT_TYPE_BROADCAST="${YELLOW}Broadcast$OFF"
|
||||
# Other
|
||||
FORMAT_TYPE_OTHER=""
|
||||
# Flag to indicate that the given release group has associated secondary types.
|
||||
FORMAT_TYPE_HAS_SECONDARY="%s ${RED}xx${OFF}"
|
||||
# Style to represent secondary types (takes one %s placeholder)
|
||||
FORMAT_TYPE_SECONDARY="${RED}(${OFF}%s${RED})${OFF}"
|
||||
# Secondary types
|
||||
FORMAT_TYPE_SECONDARY_COMPILATION="${YELLOW}compilation$OFF"
|
||||
FORMAT_TYPE_SECONDARY_SOUNDTRACK="${YELLOW}soundtrack$OFF"
|
||||
FORMAT_TYPE_SECONDARY_SPOKENWORD="${YELLOW}spokenword$OFF"
|
||||
FORMAT_TYPE_SECONDARY_INTERVIEW="${YELLOW}interview$OFF"
|
||||
FORMAT_TYPE_SECONDARY_AUDIOBOOK="${YELLOW}audiobook$OFF"
|
||||
FORMAT_TYPE_SECONDARY_AUDIODRAMA="${YELLOW}audio drama$OFF"
|
||||
FORMAT_TYPE_SECONDARY_LIVE="${YELLOW}live$OFF"
|
||||
FORMAT_TYPE_SECONDARY_REMIX="${YELLOW}remix$OFF"
|
||||
FORMAT_TYPE_SECONDARY_DJMIX="${YELLOW}DJ-mix$OFF"
|
||||
FORMAT_TYPE_SECONDARY_MIXTAPE="${YELLOW}mixtape$OFF"
|
||||
FORMAT_TYPE_SECONDARY_DEMO="${YELLOW}demo$OFF"
|
||||
FORMAT_TYPE_SECONDARY_FIELDREC="${YELLOW}field recording$OFF"
|
||||
|
||||
# Artist Preview
|
||||
# ==============
|
||||
# Main preview format. Takes two %s placeholder. The first is for the artist
|
||||
# biography. The second for the life span.
|
||||
APV_FORMAT="\n\nBio:\n%s\n\n${WHITE}%s${OFF}"
|
||||
# Specification of a date
|
||||
APV_DATE="%s"
|
||||
# Specification of a place
|
||||
APV_PLACE="%s"
|
||||
# Specification of a date and a place (in that order)
|
||||
APV_DATEPLACE="%s in %s"
|
||||
# String to represent when/where a person is born
|
||||
APV_BORN="Born: %s"
|
||||
# String to represent when/where a person died
|
||||
APV_DIED="Died: %s"
|
||||
|
||||
# Release view
|
||||
# ============
|
||||
# Format of a string that represents a release.
|
||||
RV_FORMAT="<<media>> (<<tracks>>, yr: <<year>>)\t<<label>>"
|
||||
# Additional string to display the release title and artist name
|
||||
RV_TITLE_ARTIST="${CYAN}<<artist>>$OFF - ${PURPLE}<<title>>$OFF"
|
||||
# Additional string to display the release title
|
||||
RV_TITLE="${PURPLE}<<title>>$OFF"
|
||||
# Additional string to display the artist
|
||||
RV_ARTIST="${CYAN}<<artist>>$OFF"
|
||||
|
||||
# Recording view
|
||||
# ==============
|
||||
# Format of a track in a release
|
||||
REC_FORMAT="<<med>>\t${RED}<<nr>>$OFF\t${GREEN}<<title>>$OFF\t${CYAN}<<artist>>$OFF\t${WHITE}<<duration>>$OFF"
|
||||
# Format of a track in the playlist
|
||||
REC_FORMAT_NO_NUMBER="${GREEN}<<title>>$OFF\t${CYAN}<<artist>>$OFF\t${WHITE}<<duration>>$OFF"
|
Reference in New Issue
Block a user