fix(hyprland): place user before layout comment

This commit is contained in:
2026-09-26 23:39:28 -04:00
parent fd679f995a
commit d58bff60c6

View File

@@ -15,6 +15,8 @@ let
"$mod SHIFT, ${toString n}, movetoworkspace, ${toString n}" "$mod SHIFT, ${toString n}, movetoworkspace, ${toString n}"
]) (lib.range 1 9); ]) (lib.range 1 9);
user = config.user.name;
# Flip the tiling strategy between the two built-in layouts, since neither a # Flip the tiling strategy between the two built-in layouts, since neither a
# dispatcher nor a keyword toggles it on its own. # dispatcher nor a keyword toggles it on its own.
toggleLayout = pkgs.writeShellScript "hypr-toggle-layout" '' toggleLayout = pkgs.writeShellScript "hypr-toggle-layout" ''
@@ -24,7 +26,6 @@ let
hyprctl keyword general:layout dwindle hyprctl keyword general:layout dwindle
fi fi
''; '';
user = config.user.name;
in in
{ {
options.modules.desktop.session.hyprland = { options.modules.desktop.session.hyprland = {