-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
executable file
·56 lines (45 loc) · 1.53 KB
/
config.py
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
#
#### Author: Hamad Al Marri <[email protected]>
#### Date: Feb 11th, 2020
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
#
#
#
# from pathlib import Path
import os
# path of gamma files
gamma_path = os.path.dirname(os.path.realpath(__file__))
# default .glade layout file
ui_file = "gamma.glade"
# default css style file
# style_file = "default.css"
style_file = "chocolate-icecream-solid.css"
# style scheme for srource view style
# usually sourceview style files are in
# ~/.local/share/gtksourceview-4/styles/
# or /usr/share/gtksourceview-4/styles/
# or /usr/share/gtksourceview-3.0/styles/
style_scheme = "chocolateicecream"
# from config_paths_and_settings can get
# all important paths
config_paths_and_settings = {
"ui-path": gamma_path + "/ui/" + ui_file,
"style-path": gamma_path + "/style/" + style_file,
"style-scheme": style_scheme,
"show_grid": False,
"font-family": "Droid Sans Mono, Monospace",
"font-size": 18, # in px
}