summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2026-01-09 19:22:02 +0000
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2026-01-09 19:22:02 +0000
commit1ca96706def75ff1ccbae25da99f1dca1d0de785 (patch)
tree91662147b54c0e2b080e93560bedf49d7699b65f /config.h
parentd6250ecd9333627ae2e5ae7783186e5a11b0fa10 (diff)
shuffle keybinds, remove font rendering code
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.h b/config.h
index 3802796..a23d624 100644
--- a/config.h
+++ b/config.h
@@ -3,6 +3,7 @@
/* Constants */
#define TERMINAL "st"
#define BROWSER "glide"
+#define WALLPAPER "/usr/share/wallpapers/windows7.jpg"
/* appearance */
static const unsigned int borderpx = 2; /* border pixel of windows */
@@ -24,7 +25,7 @@ static const char *colors[][5] = {
static const char *const autostart[] = {
/* program arguments options null terminator */
"xhidecursor", "", "", NULL,
- "hsetroot", "-fill", "/usr/share/wallpapers/windows7.jpg", NULL,
+ "hsetroot", "-fill", WALLPAPER, NULL,
NULL
};
@@ -109,8 +110,8 @@ static const Key keys[] = {
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
- { MODKEY|ShiftMask|ControlMask, XK_BackSpace, quit, {0} },
- { MODKEY|ShiftMask, XK_r, quit, {1} },
+ { MODKEY|ShiftMask|ControlMask, XK_BackSpace, quit, {0} },
+ { MODKEY|ShiftMask, XK_BackSpace, quit, {1} },
{ MODKEY, XK_n, spawn, SHCMD(TERMINAL" -e newsboat") },
{ MODKEY, XK_Escape, spawn, SHCMD(TERMINAL" -e htop") },
@@ -120,6 +121,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_w, spawn, SHCMD("icecat") },
{ MODKEY, XK_a, swapfocus, {0} },
{ MODKEY|ShiftMask, XK_a, spawn, SHCMD("scrcpy") },
+ { MODKEY, XK_BackSpace, swapfocus, {0} },
#ifdef __linux__
{ MODKEY, XK_g, spawn, SHCMD(TERMINAL" -c stfloat -e watch -c -n 2 genlop -c") },