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:
parent
061793150a
commit
f3d3b4592a
1 changed files with 29 additions and 0 deletions
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
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue