aboutsummaryrefslogtreecommitdiff
path: root/example-config.json
blob: 1977b1e624f31cbf15043c8ce4d60b0569ba894a (plain)
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
    "search": {
        "font_size": 16
    },
    "tab": {
        "font_size": 16
    },
    "body": {
        "title_font_size": 16,
        "author_font_size": 14,
        "description_font_size": 14,
        "timestamp_font_size": 10,
        "reaction_font_size": 14,
        "progress_font_size": 14,
        "replies_font_size": 14,
        "embedded_load_font_size": 14,
        "loading_text_font_size": 30
    },
    "input": {
        "font_size": 16
    },
    "animation": {
        "move_speed": 30.0,
        "loading_icon_speed": 400.0
    },
    "video": {
        // Plugins that support max height will select a video source that is not taller than this
        "max_height": 0
    },
    "local_manga": {
        // The directory that contains your manga. See README.md local-manga section for expected directory structure
        "directory": "",
        // Sort manga by name. If false, then sort manga by most recently updated
        "sort_by_name": false,
        // Sort chapters by name. If false, then sort chapters by most recently updated
        "sort_chapters_by_name": false
    },
    "local_anime": {
        // The directory that contains your anime. See README.md local-anime section for expected directory structure
        "directory": "",
        // Sort anime by name. If false, then sort anime by most recently updated
        "sort_by_name": false,
        // If false, anime is displayed in the way they appear in the directory.
        // If true, QuickMedia tries to group anime episodes into a folder (visually) with the name of the anime
        "auto_group_episodes": true
    },
    "youtube": {
        // If true, resume playback where you left off in youtube videos
        "load_progress": true,
        // The invidious instance to use. This is currently only used to show a video feed.
        // If not set, then local recommendations are used instead.
        "invidious_instance": ""
    },
    "matrix": {
        // List of homeservers to display in the "Room directory" tab
        "known_homeservers": [
            "midov.pl",
            "matrix.org",
            "kde.org",
            "librem.one",
            "maunium.net",
            "halogen.city",
            "gnome.org",
            "shivering-isles.com",
            "nerdsin.space",
            "glowers.club",
            "privacytools.io",
            "linuxdelta.com",
            "tchncs.de",
            "jupiterbroadcasting.com"
        ],
        // The email of the gpg. Should match your matrix user id, but in email format. See README.md "Matrix gpg encryption" section
        "gpg_user_id": "",
        "room_name_font_size": 18,
        "room_description_font_size": 12,
        // If you want others to know that you have read their message or not
        "send_read_receipts": true,
        // If you want others to know when you are typing a message in the room
        "send_typing_notifications": true,
        "appear_online": true,
        // If the chat message should be removed when you press ESC
        "clear_message_on_escape": true
    },
    "peertube": {
        // List of instances to display when opening peertube
        "known_instances": [
            "https://tube.midov.pl",
            "https://videos.lukesmith.xyz",
            "https://peertube.se",
            "https://bittube.video",
            "https://video.nobodyhasthe.biz",
            "https://libre.tube",
            "https://open.tube",
            "https://runtube.re",
            "https://tube.kenfm.de",
            "https://tcode.kenfm.de",
            "https://tube.querdenken-711.de",
            "https://peertube.rage.lol",
            "https://gegenstimme.tv",
            "https://tv.poa.st",
            "https://libre.video",
            "https://gorf.tube",
            "https://neogenesis.tv"
        ]
    },
    "download": {
        // Directores where to save different files when pressing ctrl+shift+s to save a file
        "video_directory": "~/Videos",
        "image_directory": "~/Pictures",
        "music_directory": "~/Music",
        "file_directory": "~/Downloads"
    },
    // Font names should either be the full filepath to the font file or the font name. If font name is used then the fc-match command is used
    // to find the font file that matches that font name.
    // Example font name: "DejaVu Sans"
    // Example bold font name: "DejaVu Sans:bold"
    // The config "use_system_fonts" has to be set to false to use these font configs.
    "font": {
        "latin": "",
        "latin_bold": "",
        "latin_monospace": "",
        "cjk": "",
        "symbols": "",
        "scale": {
            "latin": 1.0,
            "latin_bold": 1.0,
            "latin_monospace": 1.0,
            "cjk": 1.0,
            "symbols": 1.0
        }
    },
    "mangadex": {
        "allow_hentai": false
    },
    "file_manager": {
        // Set to true to enable grid view. If false, the file manager items are shown as a list instead
        "grid_view": true
    },
    // Use system (fontconfig) fonts
    "use_system_fonts": false,
    // Use system (~/.config/mpv) mpv.conf instead of the one provided by QuickMedia
    "use_system_mpv_config": false,
    // Enable shaders. Only set to false if you have a very slow computer or dont care about graphical effects
    // such as rounded corners. Rounded corners can also be disabled with the theme option "rounded_rectangles"
    "enable_shaders": true,
    // The theme to use. This should match the name of a file in either /usr/share/quickmedia/themes or ~/.config/quickmedia/themes, except without the .json at the end of the filename
    "theme": "default",
    // UI scale (all components)
    "scale": 1.0,
    // Font scale (only fonts)
    "font_scale": 1.0,
    // Spacing scale (only scaling the spacing between elements, nothing else)
    "spacing_scale": 1.0,
    // Can reduce latency, but might increase cpu usage a bit
    "low_latency_mode": false
}