From 21552196c529cdc4e7112d2f09a80ab81c71207a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 24 Feb 2017 02:06:20 +0100 Subject: Settings class rework Using toml as format --- test/config.ini | 34 ---------------------------------- test/config.toml | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 34 deletions(-) delete mode 100644 test/config.ini create mode 100644 test/config.toml (limited to 'test') diff --git a/test/config.ini b/test/config.ini deleted file mode 100644 index ea5c258..0000000 --- a/test/config.ini +++ /dev/null @@ -1,34 +0,0 @@ -[browser] -singleInstance=true -localSocket=smolbote-singlelock - -[general] -homepage=https://duckduckgo.com -newtab=about:blank -profile=Default - -[blocker] -subscription= - -[bookmarks] -dialogShortcut=Ctrl+Shift+B -path=bookmarks.xbel - -[downloads] -dialogShortcut=Ctrl+Shift+D -path=~/Downloads - -[window] -height=720 -width=1280 -title=$title — smolbote [$profile] - -[shortcuts] -focusAddress=F4 -tabClose=Ctrl+X -tabLeft=Shift+Left -tabRight=Shift+Right - -[ui] -navtoolbarMovable=false -tabtoolbarMovable=false diff --git a/test/config.toml b/test/config.toml new file mode 100644 index 0000000..747282b --- /dev/null +++ b/test/config.toml @@ -0,0 +1,36 @@ +[browser] +singleInstance=true +localSocket="smolbote-singlelock" + +[general] +homepage="https://duckduckgo.com" +newtab="about:blank" +profile="Default" + +[blocker] +dialogShortcut="Ctrl+Shift+A" +path="" +subscriptions="" + +[bookmarks] +dialogShortcut="Ctrl+Shift+B" +path="bookmarks.xbel" + +[downloads] +dialogShortcut="Ctrl+Shift+D" +path="~/Downloads" + +[window] +height=720 +width=1280 +title="$title — smolbote [$profile]" + +[shortcuts] +focusAddress="F4" +tabClose="Ctrl+X" +tabLeft="Shift+Left" +tabRight="Shift+Right" + +[ui] +navtoolbarMovable=false +tabtoolbarMovable=false -- cgit v1.2.1