1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

news: add hyprland submap entry

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-09-01 23:45:37 -05:00
parent 061793150a
commit f3d3b4592a

View file

@ -0,0 +1,29 @@
{ config, ... }:
{
time = "2025-09-02T04:45:01+00:00";
condition = config.wayland.windowManager.hyprland.enable;
message = ''
The 'wayland.windowManager.hyprland' module now supports submap configuration.
Submaps allow you to create keybind contexts in Hyprland, useful for
creating mode-based workflows like resize modes or application launch menus.
Configure submaps using the new 'submaps' option:
wayland.windowManager.hyprland.submaps.resize = {
settings = {
binde = [
", right, resizeactive, 10 0"
", left, resizeactive, -10 0"
", up, resizeactive, 0 -10"
", down, resizeactive, 0 10"
];
bind = [
", escape, submap, reset"
];
};
};
Learn more about submaps at:
https://wiki.hypr.land/Configuring/Binds#submaps
'';
}