mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
news: add hyprland submap entry
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
29
modules/misc/news/2025/09/2025-09-01_23-45-01.nix
Normal file
29
modules/misc/news/2025/09/2025-09-01_23-45-01.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user