diff options
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 +]) |