refactor(hyprland): order workspace keybinds first
This commit is contained in:
@@ -9,6 +9,18 @@
|
||||
|
||||
config = lib.mkIf config.modules.desktop.session.hyprland.enable {
|
||||
registry.keybind.${config.networking.hostName} = lib.mkMerge [
|
||||
(lib.listToAttrs (
|
||||
map (workspace: {
|
||||
name = "hyprland-workspace-${toString workspace}";
|
||||
value = {
|
||||
keys = "SUPER + ${toString workspace}";
|
||||
action = {
|
||||
kind = "focus";
|
||||
inherit workspace;
|
||||
};
|
||||
};
|
||||
}) (lib.range 1 9)
|
||||
))
|
||||
{
|
||||
hyprland-focus-left = {
|
||||
keys = "SUPER + H";
|
||||
@@ -42,18 +54,6 @@
|
||||
};
|
||||
};
|
||||
}
|
||||
(lib.listToAttrs (
|
||||
map (workspace: {
|
||||
name = "hyprland-workspace-${toString workspace}";
|
||||
value = {
|
||||
keys = "SUPER + ${toString workspace}";
|
||||
action = {
|
||||
kind = "focus";
|
||||
inherit workspace;
|
||||
};
|
||||
};
|
||||
}) (lib.range 1 9)
|
||||
))
|
||||
];
|
||||
|
||||
# This program integration owns the session, portals, and polkit, launched
|
||||
|
||||
Reference in New Issue
Block a user