aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/configuration/Kconfig')
-rw-r--r--lib/configuration/Kconfig129
1 files changed, 129 insertions, 0 deletions
diff --git a/lib/configuration/Kconfig b/lib/configuration/Kconfig
new file mode 100644
index 0000000..3e77434
--- /dev/null
+++ b/lib/configuration/Kconfig
@@ -0,0 +1,129 @@
+
+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"
+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
+