Skip to content

Instantly share code, notes, and snippets.

@lmintmate
Last active June 25, 2019 19:23
Show Gist options
  • Save lmintmate/2e87c3b8d642d6ae65b9a07aaacda908 to your computer and use it in GitHub Desktop.
Save lmintmate/2e87c3b8d642d6ae65b9a07aaacda908 to your computer and use it in GitHub Desktop.
A theme for mocp, based on my terminal colors. Probably won't work well with terminal color themes other than blue mood.
# Example color theme for MOC.
# You can use a theme by copying it to ~/.moc/themes directory and using
# Theme config option or -T command line option.
#
# Fill free to make your own themes and send me them. It will be included in
# official MOC releases or on the MOC web site.
#
# The format of this file is:
# Lines beginning with # are comments.
# Blank lines are ignored.
# Every other line is expected to be in format:
#
# ELEMENT = FOREGROUND_COLOR BACKGROUND_COLOR [ATTRIBUTE[,ATTRIBUTE,..]]
#
# or
#
# colordef COLOR = RED GREEN BLUE
#
# Where names are case insensitive.
#
# ELEMENT is an element of MOC interface. This can be:
# background - default background for regions when nothing is displayed
# frame - frames for windows
# window_title - the title of the window (eg name of the current
# directory)
# directory - a directory in the menu
# selected_directory - a directory that is selected using arrows
# playlist - playlist file
# selected_playlist - see selected directory
# file - an ordinary file in the menu (mp3, ogg, ...)
# selected_file - see selected directory
# marked_file - a file that is currently being played
# marked_selected_file - a file that is currently being played and is also
# selected using arrows
# info - information shown at the right side of files
# selected_info - see selected directory
# marked_info - a file (its time) that is currently being played
# marked_selected_info - a file (its time) that is currently being played
# and is also selected using arrows
# status - the status line with a message
# title - the title of the file that is currently being played
# state - the state: play, stop, or paused (>, [], ||)
# current_time - current time of playing
# time_left - the time left to the end of playing the current file
# total_time - the length of the currently played file
# time_total_frames - the brackets outside the total time of a file ([10:13])
# sound_parameters - the frequency and bitrate numbers
# legend - "KHz" and "Kbps"
# disabled - disabled element ([STEREO])
# enabled - enabled element
# empty_mixer_bar - "empty" part of the volume bar
# filled_mixer_bar - "filled" part of the volume bar
# empty_time_bar - "empty" part of the time bar
# filled_time_bar - "filled" part of the time bar
# entry - place where user can type a search query or a file name
# entry_title - the title of an entry
# error - error message
# message - information message
# plist_time - total time of displayed items
#
# FOREGOUND_COLOR and BACKGROUND_COLOR can have one of the following values:
# black, red, green, yellow, blue, magenta, cyan, white, default (can be
# transparent), grey (not standard, but works)
#
# Optional ATTRIBUTE parameters can be (from ncurses manual):
# normal - default (no highlight)
# standout - best highlighting mode of the terminal
# underline - underlining
# reverse - reverse video
# blink - blinking
# dim - half bright
# bold - extra bright or bold
# protect - protected mode
#
# You can specify a list of attributes separated by commas: attr1,attr2,attr3.
# Don't use spaces anywhere in such a list.
#
# With colordef you can change the definition of a color. It works only if
# your terminal supports it, if not those lines will be silently ignored.
# COLOR must be a valid color name and the RED GREEN and BLUE are numbers
# from 0 to 1000. Example:
#
# colordef red = 1000 0 0
#
# HINT: you have only 8 colors, but combined with attributes bold and/or
# reversed you actually get more colors.
#
# If you don't specify some elements, the default values will be used.
#
# Here follows the default configuration:
background = white default bold
frame = white default
window_title = white default
directory = white default bold
selected_directory = black magenta
playlist = white default bold
selected_playlist = white red bold
file = white default
selected_file = black magenta
marked_file = yellow red bold
marked_selected_file = yellow red bold
info = yellow default bold
selected_info = black magenta
marked_info = blue default bold
marked_selected_info = yellow red bold
status = white default
title = white default bold
state = white default bold
current_time = green default bold
time_left = red default
total_time = yellow default
time_total_frames = yellow default
sound_parameters = white default bold
legend = blue default
disabled = red default bold
enabled = green default bold
empty_mixer_bar = white default
filled_mixer_bar = blue default standout
empty_time_bar = white default
filled_time_bar = blue default standout
entry = white default
entry_title = black cyan
error = red default bold
message = green default bold
plist_time = white default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment