Explorar el Código

Include basic moc config

Alois Mahdal hace 9 años
padre
commit
aa5f4ad18e
Se han modificado 2 ficheros con 182 adiciones y 0 borrados
  1. 146
    0
      dotfiles/moc/config
  2. 36
    0
      dotfiles/moc/themes/moca+_theme

+ 146
- 0
dotfiles/moc/config Ver fichero

@@ -0,0 +1,146 @@
1
+# This is a configuration file for the MOC player.  It should be named
2
+# 'config' and placed in the ~/.moc directory.  As this file can specify
3
+# commands which invoke other applications, MOC will refuse to start if it
4
+# is not owned by either root or the current user, or if it is writable by
5
+# anyone other than its owner.  All options are given with their default
6
+# values, and therefore commented.
7
+
8
+# Comments begin with '#'.
9
+# You can use quotes and escape ('\') in parameters.
10
+#
11
+# You can have variable values substituted by enclosing the variable name
12
+# as "${...}".  (This only applies to the portion of the option following
13
+# the ' ='.)  Variables are substituted first from the environment then,
14
+# if not found, from the configuration options.  (Note that the value of
15
+# a configuration option substituted is that which it has at the time the
16
+# substitution variable is encountered.)  If there is a naming conflict
17
+# between an environment and configuration variable, you may be able to
18
+# resolve it by using lowercase as the environment variable matches are
19
+# case-sensitive whereas the configuration variables are not.
20
+#
21
+# You can also use the form "${...:-...}" where the value in the second
22
+# position will be substituted if the variable name given in the first
23
+# position is unset or null.
24
+#
25
+# So, for example:
26
+#
27
+#     MusicDir = /music/${USER:-public}
28
+#     Fastdir1 = ${MusicDir}/mp3/rock
29
+#     Fastdir2 = ${MusicDir}/mp3/electronic
30
+#     Fastdir3 = ${MusicDir}/mp3/rap
31
+#     Fastdir4 = ${MusicDir}/mp3/etc
32
+#
33
+# Variable names are limited to those accepted by the BASH shell; that
34
+# is, those comprising the upper- and lowercase ASCII characters, digits
35
+# and the underscore.
36
+#
37
+# If you need to use the "${" sequence for any other purpose, write "$${"
38
+# and it will be replaced by "${" and not treated as a substitution.
39
+#
40
+# Some options take lists of strings as their values.  The strings are
41
+# separated by colons.  Additional strings can be appended to the list
42
+# using "+ =" in place of a plain "=" to assign the value.  For an example,
43
+# see the XTerms option.
44
+#
45
+# You can override any configuration option when you run MOC using the
46
+# '-O' command line option:
47
+#
48
+#     mocp -O AutoNext =no -O messagelingertime=1 -O XTerms+=xxt:xwt
49
+#
50
+# This command line option can be repeated as many times as needed and
51
+# the configuration option name is not case sensitive.  (Note that MOC
52
+# does not perform variable substitution on the value of such overridden
53
+# configuration options.)  Most option values are set before the
54
+# configuration file is processed (which allows the new values to be
55
+# picked up by substitutions), however list-valued options are overridden
56
+# afterwards (which gives the choice of whether the configured values are
57
+# replaced or added to).
58
+
59
+# Remember that the client and server are separate processes and the
60
+# server will retain the configuration values formed from the environment
61
+# within which it was originally started.
62
+
63
+# Show file titles (title, author, album) instead of file names?
64
+#ReadTags = yes
65
+
66
+# In which directory do you store your music files?  If you specify it
67
+# you will be able to jump straight to this directory with the '-m'
68
+# parameter or the 'm' command.  This can also point to a playlist.
69
+#
70
+# Example:    MusicDir = "/home/joe/music"
71
+#
72
+MusicDir = ${HOME}/mnt/greeno-ntfs/media
73
+
74
+# Start in the music directory by default?  If set to 'no', start
75
+# in the current directory by default.  A single directory on
76
+# the command line takes precedence.
77
+StartInMusicDir = yes
78
+
79
+# Default FormatString:
80
+#
81
+#   %n - Track number
82
+#   %a - Artist
83
+#   %A - Album
84
+#   %t - Title
85
+#   %(X:TRUE:FALSE) - Ternary expression: if X exists, do TRUE,
86
+#                     otherwise FALSE.  The escape character must
87
+#                     be doubled (i.e., '\\').  (See zshmisc
88
+#                     documentation for more information.)
89
+#
90
+#FormatString = "%(n:%n :)%(a:%a - :)%(t:%t:)%(A: \(%A\):)"
91
+
92
+# Theme file to use.  This can be absolute path or relative to
93
+# /usr/share/moc/themes/ (depends on installation prefix) or
94
+# ~/.moc/themes/ .
95
+#
96
+# Example:    Theme = laras_theme
97
+#
98
+Theme = moca+_theme
99
+
100
+# Use mmap() to read files.  mmap() is much slower on NFS.
101
+UseMMap = yes
102
+
103
+# FastDirs, these allow you to jump directly to a directory, the key
104
+# bindings are in the keymap file.
105
+#
106
+# Examples:   Fastdir1 = /mp3/rock
107
+#             Fastdir2 = /mp3/electronic
108
+#             Fastdir3 = /mp3/rap
109
+#             Fastdir4 = /mp3/etc
110
+#
111
+#Fastdir1 =
112
+#Fastdir2 =
113
+#Fastdir3 =
114
+#Fastdir4 =
115
+#Fastdir5 =
116
+#Fastdir6 =
117
+#Fastdir7 =
118
+#Fastdir8 =
119
+#Fastdir9 =
120
+#Fastdir10 =
121
+
122
+# Display full paths instead of just file names in the playlist.
123
+#PlaylistFullPaths = yes
124
+
125
+# Run the OnSongChange command when a new song starts playing.
126
+# Specify the full path (i.e. no leading '~') of an executable to run.
127
+# Arguments will be passed, and you can use the following escapes:
128
+#
129
+#     %a artist
130
+#     %r album
131
+#     %f filename
132
+#     %t title
133
+#     %n track
134
+#     %d file duration in XX:YY form
135
+#     %D file duration, number of seconds
136
+#
137
+# No pipes/redirects can be used directly, but writing a shell script
138
+# can do the job.
139
+#
140
+# Example:    OnSongChange = "/home/jack/.moc/myscript %a %r"
141
+#
142
+#OnSongChange =
143
+
144
+# Run the OnStop command (full path, no arguments) when MOC changes state
145
+# to stopped (i.e., when user stopped playing or changes a song).
146
+#OnStop = "/home/jack/.moc/myscript_on_stop"

+ 36
- 0
dotfiles/moc/themes/moca+_theme Ver fichero

@@ -0,0 +1,36 @@
1
+#
2
+# Theme: moca
3
+# Author: Nicola Vitale <nivit@email.it>
4
+#
5
+background		= white		black
6
+frame			= white		black
7
+window_title		= yellow	black	bold
8
+directory		= white		black
9
+selected_directory	= white		red	bold
10
+playlist		= white		black
11
+selected_playlist	= cyan		black	bold
12
+file			= white		black
13
+selected_file		= yellow	red	bold
14
+marked_file		= cyan		black	blink,bold
15
+marked_selected_file	= cyan		red	blink,bold
16
+info			= magenta	black	bold
17
+status			= yellow	black	bold
18
+title			= cyan		black	bold
19
+state			= red		black	bold
20
+current_time		= green		black	bold
21
+time_left		= magenta	black	bold
22
+total_time		= red		black	bold
23
+time_total_frames	= red		black	bold
24
+sound_parameters	= white		black	bold
25
+legend			= white		black
26
+disabled		= white		black	bold
27
+enabled			= blue		black	bold
28
+empty_mixer_bar		= cyan		blue
29
+filled_mixer_bar	= blue		cyan
30
+empty_time_bar		= green		magenta
31
+filled_time_bar		= magenta	green
32
+entry			= white		black
33
+entry_title		= magenta	black	bold
34
+error			= red		black	bold
35
+message			= green		black	bold
36
+plist_time		= red		black	bold