aboutsummaryrefslogtreecommitdiff
path: root/Kconfig
blob: 1564f19b1b85dbb66f436594dda7d3f0af5f342c (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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
menu "Application"
    config POI_NAME
        string "Application name"
        default "smolbote"
    config POI_ICON
        string "Path to icon"
        default ":/icons/poi.svg"
    config POI_CFG_PATH
        string "Configuration location"
        default "~/.config/smolbote/smolbote.cfg"
endmenu

menu "Keyboard shortcuts"
    comment "Main Window shortcuts"
    config shortcuts.session.save
        string "Save Session shortcut"
        default "Ctrl+S,S"
    config shortcuts.session.open
        string "Load Session shortcut"
        default "Ctrl+S,O"
    config shortcuts.window.newgroup
        string "New Group shortcut"
        default "Ctrl+G"
    config shortcuts.window.newwindow
        string "New Window shortcut"
        default "Ctrl+N"
    config shortcuts.window.about
        string "Show About Dialog"
        default "Ctrl+H"
    config shortcuts.window.quit
        string "Quit shortcut"
        default "Ctrl+Q"
    config shortcuts.window.search
        string "Show or hide search box"
        default "F3"
    config shortcuts.window.bookmarks.show
        string "Show bookmarks dialog in this window"
        default "Ctrl+B"
    config shortcuts.window.downloads.show
        string "Show downloads dialog in this window"
        default "Ctrl+D"

    comment "Navigation Bar shortcuts"
    config shortcuts.navigation.back
        string "Go back in history"
        default "Ctrl+Left"
    config shortcuts.navigation.backmenu
        string "Show Back history menu"
        default "Ctrl+Down"
    config shortcuts.navigation.forward
        string "Go forward in history"
        default "Ctrl+Right"
    config shortcuts.navigation.forwardmenu
        string "Show Forward history menu"
        default "Ctrl+Up"
    config shortcuts.navigation.refresh
        string "Refresh the page"
        default "F5"
    config shortcuts.navigation.reload
        string "Reload the page"
        default "Ctrl+F5"
    config shortcuts.navigation.home
        string "Load homepage"
        default "Ctrl+Home"

    comment "Address Bar shortcuts"
    config shortcuts.address.focus
        string "Focus the Address Bar"
        default "F4"
    config shortcuts.address.menu
        string "Show Address Bar menu"
        default "F2"

    comment "Subwindow shortcuts"
    config shortcuts.subwindow.menu
        string "Subwindow context menu"
        default "F1"
    config shortcuts.subwindow.tile
        string "Tile subwindows"
        default "F9"
    config shortcuts.subwindow.cascade
        string "Cascade subwindow"
        default "F10"
    config shortcuts.subwindow.fullscreen
        string "Make current subwindow fullscreen"
        default "F11"
    config shortcuts.subwindow.newtab
        string "Create new tab"
        default "Ctrl+T"
    config shortcuts.subwindow.closetab
        string "Close current tab"
        default "Ctrl+X"
    config shortcuts.subwindow.restoretab
        string "Restore last closed tab"
        default "Ctrl+Shift+T"
    config shortcuts.subwindow.tableft
        string "Switch to the tab on the left"
        default "Ctrl+O"
    config shortcuts.subwindow.movetableft
        string "Move tab to the left"
        default "Ctrl+Shift+O"
    config shortcuts.subwindow.tabright
        string "Switch to the tab on the right"
        default "Ctrl+P"
    config shortcuts.subwindow.movetabright
        string "Move tab to the right"
        default "Ctrl+Shift+P"

endmenu

menu "Main Window"
    config mainwindow.title
        string "Main window title"
        default "smolbote"
    config mainwindow.width
        int "Main window width"
        default 1280
    config mainwindow.height
        int "Main window height"
        default 720
endmenu

menu "Profile Settings"
    config profile.path
        string "Profile load location"
        default "~/.config/smolbote/profiles.d"
    config profile.default
        string "Default profile"
        default ""
    config profile.search
        string "Search engine"
        default "https://duckduckgo.com/?q=%1&ia=web"
    config profile.homepage
        string "Homepage"
        default "about:blank"
    config profile.newtab
        string "New tab page"
        default "about:blank"
endmenu

config USEPLUGINS
    bool "Enable plugins"
    default y

menu "Plugin Settings"
    depends on USEPLUGINS
    config PLUGINS_PATH
        string "Plugin load location"
        default "~/.config/smolbote/plugins.d"
    choice PLUGINS_SIGNATURE_CHECK
        bool "Plugin Signature enforcement"
        default PLUGINS_SIGNATURE_CHECKED
        config PLUGINS_SIGNATURE_IGNORED
            bool "Don't check plugin signatures"
        config PLUGINS_SIGNATURE_CHECKED
            bool "Don't load plugins with invalid signatures"
        config PLUGINS_SIGNATURE_ENFORCED
            bool "Only load plugins with valid signatures"
    endchoice
    config PLUGINS_SIGNATURE_HASH
        string "Hashing algorithm used by the signature"
        default "SHA256"
endmenu

comment "Default paths"
config filter.path
    string "Host filter path"
    default "~/.config/smolbote/hosts.d"
config bookmarks.path
    string "Bookmarks location"
    default "~/.config/smolbote/bookmarks.xbel"
config downloads.path
    string "Downloads location"
    default "~/Downloads"
config session.path
    string "Session location"
    default "~/.config/smolbote/session.d"

config USEPLASMA
    bool "Enable KDE Frameworks integration"
    default n

menu "KDE Integration"
    depends on USEPLASMA

    config PLASMA_BLUR
        bool "Enable translucent background and blur behind window"
        default n

    config WALLET_FOLDER
        string "KDE Wallet folder name"
        default "smolbote"
endmenu

config USEBREAKPAD
    bool "Enable Breakpad integration"
    default n

menu "Breakpad Integration"
    depends on USEBREAKPAD

    config PATH_CRASHDUMP
        string "Crash dump location"
        default "~/.config/smolbote/crash.d"

    config PATH_CRASHHANDLER
        string "Crash handler location"
        default "poi-crash"
endmenu

menu "Workarounds"
    config QTBUG_65223
        bool "Manually emit loadFinished"
        default y
        help
            See QTBUG-65223: loadStarted is emitted twice when loading link with anchor

endmenu