summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/config.h b/config.h
index 9fe62ce..d5ce7e8 100644
--- a/config.h
+++ b/config.h
@@ -12,8 +12,8 @@ int gaps = 10;
int outerGaps = 30;
//WS config
-int numWS = 5;
-std::string workspaceNames[] = {"1: d", "2: s", "3: g", "4: c", "5: r"};
+const int numWS = 10;
+std::string workspaceNames[] = {"1: ", "2: 拾", "3: ", "4: ", "5: ", "6: ", "7: 拾", "8: ", "9: ", "10: "};
//Keys
//The types and perhaps functions likely to be moved to seperate header file later
@@ -54,6 +54,10 @@ KEYCOM(wMove);
const char* alacritty[] = {"alacritty", NULL};
const char* rofi[] = {"rofi", "-i", "-show", "drun", NULL};
+const char* qutebrowser[] = {"qutebrowser", NULL};
+
+const char* i3lock[] = {"i3lock", "-eti", "/usr/share/backgrounds/lockscreen.png", NULL};
+const char* suspend[] = {"systemctl", "suspend", NULL};
#define MOD Mod1Mask
#define SHIFT ShiftMask
@@ -70,6 +74,10 @@ static struct Key keyBinds[] = {
{XK_d, MOD, spawn, {.str = rofi}},
{XK_t, MOD, toggle, {NULL}},
{XK_q, MOD, kill, {NULL}},
+ {XK_c, MOD, spawn, {.str = qutebrowser}},
+ {XK_x, MOD, spawn, {.str = i3lock}},
+ {XK_x, MOD|SHIFT, spawn, {.str = i3lock}},
+ {XK_x, MOD|SHIFT, spawn, {.str = suspend}},
//Focus
{XK_h, MOD, focChange, {.dir = Left}},
{XK_j, MOD, focChange, {.dir = Down}},
@@ -85,5 +93,10 @@ static struct Key keyBinds[] = {
WSKEY(XK_2, 2),
WSKEY(XK_3, 3),
WSKEY(XK_4, 4),
- WSKEY(XK_5, 5)
+ WSKEY(XK_5, 5),
+ WSKEY(XK_6, 6),
+ WSKEY(XK_7, 7),
+ WSKEY(XK_8, 8),
+ WSKEY(XK_9, 9),
+ WSKEY(XK_0, 10),
};