-
Notifications
You must be signed in to change notification settings - Fork 4
/
program.conf
83 lines (70 loc) · 2.17 KB
/
program.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# SPDX-FileCopyrightText: Moritz Bruder <muesli4 at gmail dot com>
#
# SPDX-License-Identifier: Unlicense
program:
{
default_font:
{
path = "/usr/share/fonts/TTF/DejaVuSans.ttf"
size = 15
}
big_font:
{
path = "/usr/share/fonts/TTF/DejaVuSans.ttf"
size = 20
}
display:
{
fullscreen = false
# Resolution will be maxed out in fullscreen.
resolution: { width = 320; height = 240 }
}
system_control:
{
shutdown_command = "echo poweroff"
reboot_command = "echo reboot"
}
dim_idle_timer:
{
# Set this to a value other than 0 to enable the timer.
delay_seconds = 0
dim_command = "echo dimming screen"
undim_command = "echo lighting up screen"
}
swipe:
{
# Determines how unambiguous a directional swipe has to be to be
# detected as such.
dir_unambig_factor_threshold = 0.3
}
cover:
{
# Which cover sources should be used and in which order.
# albumart - Read covers provided by MPD albumart command.
# readpicture - Read covers provided by MPD readpicture command.
# filesystem - Read covers from mirrored structure on a filesystem.
# (Configuration below is necessary!)
#
# The fallback is displaying the title, artist, and album.
sources = ["albumart", "readpicture"]
filesystem:
{
# Specify the base directory. This is necessary for using the
# cover source.
#directory =
# All combinations are tried in the given order to find covers. If none
# of these matches, the cover replacement is displayed.
extensions = ["png", "jpeg", "jpg"]
names = ["front", "cover", "back"]
}
}
on_screen_keyboard:
{
# Customizes the on-screen keyboard shown in the search. The minimum
# width is 3 and will be enforced.
size: { width = 6; height = 5 }
keys = "abcdefghijklmnopqrstuvwxyzäöü "
}
# Comment in to enable GUI navigation via UDP client.
#port = 6666
}