summaryrefslogtreecommitdiff
path: root/#config.h#
diff options
context:
space:
mode:
Diffstat (limited to '#config.h#')
-rw-r--r--#config.h#77
1 files changed, 0 insertions, 77 deletions
diff --git a/#config.h# b/#config.h#
deleted file mode 100644
index 2876dfc..0000000
--- a/#config.h#
+++ /dev/null
@@ -1,77 +0,0 @@
-#include <X11/keysym.h>
-#include <X11/Xlib.h>
-
-#include <vector>
-#include <string>
-
-//Startup
-std::string startup[] = {"picom -fD 3", "feh --bg-scale /usr/share/backgrounds/vapor_trails_blue.png"};
-
-//Main config
-int gaps = 10;
-int outerGaps = 30;
-
-int numWS = 5;
-
-//Keys
-//The types and perhaps functions likely to be moved to seperate header file later
-enum MoveDir
-{
- Up,
- Right,
- Down,
- Left
-};
-
-typedef union
-{
- const char** str;
- const int num;
- const MoveDir dir;
-} KeyArg;
-
-struct Key
-{
- KeySym keysym;
- unsigned int modifiers;
- void (*function)(const KeyArg arg);
- const KeyArg arg;
-};
-
-//Keybind commands
-void exit(const KeyArg arg);
-void spawn(const KeyArg arg);
-void toggle(const KeyArg arg);
-void kill(const KeyArg arg);
-void changeWS(const KeyArg arg);
-void wToWS(const KeyArg arg);
-void focChange(const KeyArg arg);
-
-const char* alacritty[] = ;
-const char* rofi[] = {"rofi", "-i", "-show", "drun", NULL};
-
-#define MOD Mod1Mask
-#define SHIFT ShiftMask
-
-#define WSKEY(K, X) \
- {K, MOD, changeWS, {.num = X}}, \
- {K, MOD|SHIFT, wToWS, {.num = X}},
-
-
-static struct Key keyBinds[] = {
- //Key //Modifiers //Func //Args
- {XK_e, MOD, exit, {NULL}},
- {XK_Return, MOD, spawn, {.str = {"alacritty", NULL}}},
- {XK_d, MOD, spawn, {.str = rofi}},
- {XK_t, MOD, toggle, {NULL}},
- {XK_q, MOD, kill, {NULL}},
- {XK_h, MOD, focChange, {.dir = Left}},
- {XK_j, MOD, focChange, {.dir = Down}},
- {XK_k, MOD, focChange, {.dir = Up}},
- {XK_l, MOD, focChange, {.dir = Right}},
- WSKEY(XK_1, 1)
- WSKEY(XK_2, 2)
- WSKEY(XK_3, 3)
- WSKEY(XK_4, 4)
- WSKEY(XK_5, 5)
-};