dotfiles/patches/dwm/change-mod-key.patch
Oliver Davies 4461ad3ca4 Add dwm window manager with some initial patches
- Set Mod4 as the mod key and Alacritty as the termcmd.
- Add a patch from suckless.org to hide any vacant tags.
  - https://dwm.suckless.org/patches/hide_vacant_tags
2025-01-30 17:41:54 +00:00

14 lines
432 B
Diff

diff --git a/config.def.h b/config.def.h
index 9efa774..4412cb1 100644
--- a/config.def.h
+++ b/config.def.h
@@ -45,7 +45,7 @@ static const Layout layouts[] = {
};
/* key definitions */
-#define MODKEY Mod1Mask
+#define MODKEY Mod4Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \