aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration/Kconfig
blob: b1650936fd345b6a049d04c272a2f8544b5c387d (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
menu "Configuration defaults"
    config PATH_CONFIG
        string "Configuration location"
        default "~/.config/smolbote/smolbote.cfg"
    config PATH_FILTER
        string "Host filter path"
        default "~/.config/smolbote/hosts.d"
    config PATH_PLUGINS
        string "Plugin load location"
        default "~/.config/smolbote/plugins.d"
    config PATH_PROFILES
        string "Profile load location"
        default "~/.config/smolbote/profiles.d"
    config PATH_BOOKMARKS
        string "Bookmarks location"
        default "~/.config/smolbote/bookmarks.xbel"
    config PATH_DOWNLOADS
        string "Downloads location"
        default "~/Downloads"
    config PATH_SESSION
        string "Session location"
        default "~/.config/smolbote/session.d"
endmenu

menu "Keyboard shortcuts"
    comment "Main Window shortcuts"
    config SHORTCUT_WINDOW_NEWGROUP
        string "New Group shortcut"
        default "Ctrl+G"
    config SHORTCUT_WINDOW_NEWWINDOW
        string "New Window shortcut"
        default "Ctrl+N"
    config SHORTCUT_WINDOW_ABOUT
        string "Show About Dialog"
        default "Ctrl+H"
    config SHORTCUT_WINDOW_QUIT
        string "Quit shortcut"
        default "Ctrl+Q"

    config SHORTCUT_WINDOW_SEARCH
        string "Show or hide search box"
        default "F3"

    config SHORTCUT_WINDOW_BOOKMARKS
        string "Show bookmarks dialog in this window"
        default "Ctrl+B"
    config SHORTCUT_WINDOW_DOWNLOADS
        string "Show downloads dialog in this window"
        default "Ctrl+D"

    comment "Navigation Bar shortcuts"
    config SHORTCUT_NAVIGATION_BACK
        string "Go back in history"
        default "Ctrl+Left"
    config SHORTCUT_NAVIGATION_BACKMENU
        string "Show Back history menu"
        default "Ctrl+Down"
    config SHORTCUT_NAVIGATION_FORWARD
        string "Go forward in history"
        default "Ctrl+Right"
    config SHORTCUT_NAVIGATION_FORWARDMENU
        string "Show Forward history menu"
        default "Ctrl+Up"
    config SHORTCUT_NAVIGATION_REFRESH
        string "Refresh the page"
        default "F5"
    config SHORTCUT_NAVIGATION_RELOAD
        string "Reload the page"
        default "Ctrl+F5"
    config SHORTCUT_NAVIGATION_HOME
        string "Load homepage"
        default "Ctrl+Home"

    comment "Address Bar shortcuts"
    config SHORTCUT_ADDRESS_FOCUS
        string "Focus the Address Bar"
        default "F4"
    config SHORTCUT_ADDRESS_MENU
        string "Show Address Bar menu"
        default "F2"

    comment "Subwindow shortcuts"
    config SHORTCUT_SUBWINDOW_MENU
        string "Subwindow context menu"
        default "F1"
    config SHORTCUT_SUBWINDOW_TILE
        string "Tile subwindows"
        default "F9"
    config SHORTCUT_SUBWINDOW_CASCADE
        string "Cascade subwindow"
        default "F10"
    config SHORTCUT_SUBWINDOW_FULLSCREEN
        string "Make current subwindow fullscreen"
        default "F11"

    config SHORTCUT_SUBWINDOW_NEWTAB
        string "Create new tab"
        default "Ctrl+T"
    config SHORTCUT_SUBWINDOW_CLOSETAB
        string "Close current tab"
        default "Ctrl+X"
    config SHORTCUT_SUBWINDOW_TABLEFT
        string "Switch to the tab on the left"
        default "Ctrl+O"
    config SHORTCUT_SUBWINDOW_MOVETABLEFT
        string "Move tab to the left"
        default "Ctrl+Shift+O"
    config SHORTCUT_SUBWINDOW_TABRIGHT
        string "Switch to the tab on the right"
        default "Ctrl+P"
    config SHORTCUT_SUBWINDOW_MOVETABRIGHT
        string "Move tab to the right"
        default "Ctrl+Shift+P"

endmenu

menu "Profile defaults"
    config PROFILE_DEFAULT
        string "Default profile"
        default ""
    config PROFILE_DEFAULT_SEARCH
        string "Search engine"
        default "https://duckduckgo.com/?q=%1&ia=web"
    config PROFILE_DEFAULT_HOMEPAGE
        string "Homepage"
        default "about:blank"
    config PROFILE_DEFAULT_NEWTAB
        string "New tab page"
        default "about:blank"
endmenu