aboutsummaryrefslogtreecommitdiff
path: root/data/poi.toml
blob: e5fc6acf39c9fa322cb4826e9706d9525e68663e (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
#
# poi.conf
#
## Settings and default settings
# There are two parts to the settings - default values and user overrides.
# The default settings are read from:
# - /usr/local/share/smolbote/poi.conf
# - /usr/share/smolbote/poi.conf
# - /etc/smolbote.d/poi.conf
# - :/poi.toml
# The user settings are read from:
# - any location specified with -c/--config
# - QStandardPaths::AppConfigLocation + "/poi.conf"
#
## Variables
# §home is QStandardPaths::HomeLocation, usually /home/username
# $cache is QStandardPaths::CacheLocation, usually /home/username/.cache/smolbote
# $settings is the directory where the settings file is located, usually /home/username/config/.smolbote

# General
[general]
search="https://duckduckgo.com/lite?q=$term"    # FIXME remove; move to profile

# Browser: application-wide settings
[browser]
#sessionPath="$cache/session.json"

# Profile
# A nameless ("") profile is off-the-record
[browser.profile]
default=""
path="$home/.config/smolbote/profiles/"
storagePath="$home/.config/smolbote/profiles/"
cachePath="$home/.cache/smolbote/profiles/"

[browser.profile.new]
homepage="https://duckduckgo.com"
newtab="about:blank"
search="https://duckduckgo.com/lite?q=$term"    # FIXME

# Main window settings
[window]
height=720
width=1280
maximized=true
title="title — smolbote [profile]"

# Main window shortcuts
[window.shortcuts]
focusAddress="F4"
fullscreen="F11"
tabNew="Ctrl+T"
tabClose="Ctrl+X"
tabLeft="Shift+Left"
tabRight="Shift+Right"
windowNew="Ctrl+N"
windowClose="Ctrl+Q"

# Main window UI
[window.ui]
navtoolbarMovable=false
tabtoolbarMovable=false

# URL blocker
[blocker]
shortcut="Ctrl+Shift+F"
path="$settings/"
subscriptions=[
    "filter.json"
#    "https://easylist.to/easylist/easylist.txt",
#    "https://easylist-downloads.adblockplus.org/easylist_noelemhide.txt",
#    "https://easylist.to/easylist/easyprivacy.txt"
]

# Bookmark manager
[bookmarks]
dialogShortcut="Ctrl+Shift+B"
path="$settings/bookmarks.xbel"

# Download manager
[downloads]
dialogShortcut="Ctrl+Shift+D"
path="$home/Downloads"
auto=false