From 80b267ff9a9781c647fc836611ebd4a89e660b52 Mon Sep 17 00:00:00 2001 From: Druid520 Date: Mon, 27 Jul 2026 02:12:41 -0700 Subject: ADD: all my new dotfiles --- sowm-config.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 sowm-config.h (limited to 'sowm-config.h') 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 @@ +#ifndef CONFIG_H +#define CONFIG_H +#define MOD Mod4Mask + +const char* menu[] = {"dmenu_run", "-fn", "Terminus-12", "-nb", "#000000", "-nf", "#ffffff", "-sb", "#ffffff", "-sf", "#000000", 0}; +const char* term[] = {"st", 0}; +const char* scrot[] = {"scrot", 0}; +const char* browser[] = {"st", "links", "https://lite.duckduckgo.com/", 0}; +const char* editor[] = {"st", "em", 0}; + +static struct key keys[] = { + {MOD, XK_q, win_kill, {0}}, + {MOD, XK_c, win_center, {0}}, + {MOD, XK_f, win_fs, {0}}, + + {MOD, XK_Tab, win_next, {0}}, + {MOD|ShiftMask, XK_Tab, win_prev, {0}}, + + {MOD, XK_d, run, {.com = menu}}, + {MOD, XK_p, run, {.com = scrot}}, + {MOD, XK_Return, run, {.com = term}}, + {MOD, XK_b, run, {.com = browser}}, + {MOD, XK_e, run, {.com = editor}}, + + {MOD, XK_1, ws_go, {.i = 1}}, + {MOD|ShiftMask, XK_1, win_to_ws, {.i = 1}}, + {MOD, XK_2, ws_go, {.i = 2}}, + {MOD|ShiftMask, XK_2, win_to_ws, {.i = 2}}, + {MOD, XK_3, ws_go, {.i = 3}}, + {MOD|ShiftMask, XK_3, win_to_ws, {.i = 3}}, + {MOD, XK_4, ws_go, {.i = 4}}, + {MOD|ShiftMask, XK_4, win_to_ws, {.i = 4}}, + {MOD, XK_5, ws_go, {.i = 5}}, + {MOD|ShiftMask, XK_5, win_to_ws, {.i = 5}}, + {MOD, XK_6, ws_go, {.i = 6}}, + {MOD|ShiftMask, XK_6, win_to_ws, {.i = 6}}, +}; + +#endif -- cgit 1.4.1