summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2014-01-26 13:29:38 +0100
committerQC <qball@gmpclient.org>2014-01-26 13:29:38 +0100
commitbd33e93e165e3a6d4cad342537b7e3d08da5bed1 (patch)
tree90ae0f7a36a8946861aac5e9d40b53169a8b0b89 /config
parent2b453668e7dc6be60886a6fc68746d75daa7de83 (diff)
Put user settable config in separate file.
Diffstat (limited to 'config')
-rw-r--r--config/config.c54
1 files changed, 54 insertions, 0 deletions
diff --git a/config/config.c b/config/config.c
new file mode 100644
index 00000000..bafad3e8
--- /dev/null
+++ b/config/config.c
@@ -0,0 +1,54 @@
+/**
+ * simpleswitcher
+ *
+ * MIT/X11 License
+ * Modified 2013-2014 Qball Cow <qball@gmpclient.org>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Software, and to
+ * permit persons to whom the Software is furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ */
+#include "simpleswitcher.h"
+
+Settings config = {
+ // Window settings
+ .window_opacity = 100,
+ // Menu settings
+ .menu_bw = 1,
+ .menu_width = 50,
+ .menu_lines = 15,
+ .menu_font = "mono-12",
+ .menu_fg = "#222222",
+ .menu_bg = "#f2f1f0",
+ .menu_bgalt = "#e9e8e7",
+ .menu_hlfg = "#ffffff",
+ .menu_hlbg = "#005577",
+ .menu_bc = "black",
+ // Behavior
+ .zeltak_mode = 0,
+ .terminal_emulator = "x-terminal-emulator",
+ .i3_mode = 0,
+ // Key binding
+ .window_key = "F12",
+ .run_key = "mod1+F2",
+ .ssh_key = "mod1+F3",
+ .location = CENTER,
+ .wmode = VERTICAL,
+ .inner_margin = 5
+};