summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorBossCode45 <human.cyborg42@gmail.com>2023-06-03 21:30:05 +1200
committerBossCode45 <human.cyborg42@gmail.com>2023-06-03 21:30:05 +1200
commite9cc5756dbb0a2d079a7b5e3438d79945f819df5 (patch)
tree3881cb6bed150ef11252ef04a5e11c05d5af05f8 /config.h
parent01bc6a33eb235cd10851e2c31b99e6840603ca7d (diff)
downloadYATwm-e9cc5756dbb0a2d079a7b5e3438d79945f819df5.tar.gz
YATwm-e9cc5756dbb0a2d079a7b5e3438d79945f819df5.zip
feat: Keybind updates
Re added the ability to swap super and mod as a config parameter (the ~swapmods~) command). Finally fixed keybinds sometimes not working because of numlock, bitwise & with the modifiers I actually care about.
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index b02dc9e..452db9c 100644
--- a/config.h
+++ b/config.h
@@ -37,12 +37,15 @@ public:
int numWS;
bool loaded = false;
+ // Binds
+ bool swapSuperAlt;
// Config Commands
COMMAND(gapsCmd);
COMMAND(outerGapsCmd);
COMMAND(logFileCmd);
COMMAND(addWorkspaceCmd);
+ COMMAND(swapSuperAltCmd);
private:
CommandsModule& commandsModule;