diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-28 21:58:17 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-28 21:58:17 +0100 |
commit | 430b60ad1fcedf6adecfad7b37aeaaf15c00f6a3 (patch) | |
tree | 6beeb6dd6e9c448ef5a4a3e420ad1cb7849eef5e /.config/hypr/macros.m4 | |
parent | e811e53398f7e204be538d2a9ffea29239739f77 (diff) |
Hyprland: Add a submap for prompt-/dmenu-style scripts
Diffstat (limited to '.config/hypr/macros.m4')
-rw-r--r-- | .config/hypr/macros.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/hypr/macros.m4 b/.config/hypr/macros.m4 new file mode 100644 index 0000000..f466f63 --- /dev/null +++ b/.config/hypr/macros.m4 @@ -0,0 +1,14 @@ +changequote([,]) + +define(__submap, [ + bind = $modkey, $2, submap, $1 + submap = $1 + $3 + bind = , escape, submap, reset + submap = reset +]) + +define(__subbind, [ + bind = , $1, exec, exec $2 2>/dev/null + bind = , $1, submap, reset +]) |