summary refs log tree commit diff
path: root/sowm-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'sowm-config.h')
-rw-r--r--sowm-config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/sowm-config.h b/sowm-config.h new file mode 100644 index 0000000..afc4e0d --- /dev/null +++ b/sowm-config.h
@@ -0,0 +1,39 @@
1#ifndef CONFIG_H
2#define CONFIG_H
3#define MOD Mod4Mask
4
5const char* menu[] = {"dmenu_run", "-fn", "Terminus-12", "-nb", "#000000", "-nf", "#ffffff", "-sb", "#ffffff", "-sf", "#000000", 0};
6const char* term[] = {"st", 0};
7const char* scrot[] = {"scrot", 0};
8const char* browser[] = {"st", "links", "https://lite.duckduckgo.com/", 0};
9const char* editor[] = {"st", "em", 0};
10
11static struct key keys[] = {
12 {MOD, XK_q, win_kill, {0}},
13 {MOD, XK_c, win_center, {0}},
14 {MOD, XK_f, win_fs, {0}},
15
16 {MOD, XK_Tab, win_next, {0}},
17 {MOD|ShiftMask, XK_Tab, win_prev, {0}},
18
19 {MOD, XK_d, run, {.com = menu}},
20 {MOD, XK_p, run, {.com = scrot}},
21 {MOD, XK_Return, run, {.com = term}},
22 {MOD, XK_b, run, {.com = browser}},
23 {MOD, XK_e, run, {.com = editor}},
24
25 {MOD, XK_1, ws_go, {.i = 1}},
26 {MOD|ShiftMask, XK_1, win_to_ws, {.i = 1}},
27 {MOD, XK_2, ws_go, {.i = 2}},
28 {MOD|ShiftMask, XK_2, win_to_ws, {.i = 2}},
29 {MOD, XK_3, ws_go, {.i = 3}},
30 {MOD|ShiftMask, XK_3, win_to_ws, {.i = 3}},
31 {MOD, XK_4, ws_go, {.i = 4}},
32 {MOD|ShiftMask, XK_4, win_to_ws, {.i = 4}},
33 {MOD, XK_5, ws_go, {.i = 5}},
34 {MOD|ShiftMask, XK_5, win_to_ws, {.i = 5}},
35 {MOD, XK_6, ws_go, {.i = 6}},
36 {MOD|ShiftMask, XK_6, win_to_ws, {.i = 6}},
37};
38
39#endif