summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-08-23 17:44:27 +0100
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-08-23 17:44:27 +0100
commit087c298adf198b3138148cae5981c0962e9fcba1 (patch)
tree7a0f635f85f299d83e6b9e5c24b00c3a1b90b99d
parent5c35510c79739178c358fa8a6a2d52611339d1c6 (diff)
change keybinds
-rw-r--r--config.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.h b/config.h
index 0cb584f..9df8a41 100644
--- a/config.h
+++ b/config.h
@@ -2,7 +2,7 @@
/* Constants */
#define TERMINAL "st"
-#define BROWSER "chromium"
+#define BROWSER "firefox"
/* appearance */
static const unsigned int borderpx = 3; /* border pixel of windows */
@@ -99,11 +99,13 @@ static const Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
+
{ MODKEY|ShiftMask, XK_End, quit, {0} },
{ MODKEY|ShiftMask, XK_r, quit, {1} },
@@ -129,12 +131,13 @@ static const Key keys[] = {
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 10") },
{ MODKEY, XK_Print, spawn, SHCMD("maimpick") },
{ MODKEY, XK_c, spawn, SHCMD("pgrep xcompmgr && pkill -9 xcompmgr || xcompmgr &") },
+ { MODKEY|ShiftMask, XK_k, spawn, SHCMD(TERMINAL" -c stfloat -e fkill") },
{ MODKEY, XK_p, search, {.i = 0} },
{ MODKEY|ShiftMask, XK_p, search, {.i = 1} },
{ MODKEY|ShiftMask, XK_q, search, {.i = 2} },
- { MODKEY, XK_b, togglemouse, {0} },
+ { MODKEY, XK_o, togglemouse, {0} },
};
/* button definitions */