feat(hyprland): SUPER+0 → workspace 10; migration doc gains autoLogin
Workspace binds were generated for 1-9 only, leaving SUPER+0 dead. Generate 10, with the 0 key mapping to workspace 10 (and SHIFT+0 to move); cheatsheet updated to match. MIGRATION.md's example system.nix now includes nomarchy.system.greeter.autoLogin — the migration path missed what nomarchy-install sets on every LUKS machine, so migrated boxes stopped at tuigreet asking for a password behind the LUKS prompt. Verified: nix flake check --no-build passes; generated homeConfigurations.nomarchy hyprland binds eval'd and contain '$mod, 0, workspace, 10' + SHIFT variant. V3 next: rebuild on the migrated T14s (TuringMachine) and press SUPER+0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -74,15 +74,18 @@ let
|
||||
(e: "${e.mods}, ${e.key}, exec, ${focusOrLaunch}/bin/nomarchy-focus-or-launch ${e.class} ${e.command}")
|
||||
lofEntries;
|
||||
|
||||
# SUPER+1..9 / SUPER+SHIFT+1..9 workspace binds, generated.
|
||||
# SUPER+1..9,0 / SUPER+SHIFT+1..9,0 workspace binds, generated
|
||||
# (the 0 key is workspace 10).
|
||||
workspaceBinds = builtins.concatLists (builtins.genList
|
||||
(i:
|
||||
let ws = toString (i + 1);
|
||||
let
|
||||
ws = toString (i + 1);
|
||||
key = if i == 9 then "0" else ws;
|
||||
in [
|
||||
"$mod, ${ws}, workspace, ${ws}"
|
||||
"$mod SHIFT, ${ws}, movetoworkspace, ${ws}"
|
||||
"$mod, ${key}, workspace, ${ws}"
|
||||
"$mod SHIFT, ${key}, movetoworkspace, ${ws}"
|
||||
])
|
||||
9);
|
||||
10);
|
||||
|
||||
# The keyboard binds — single source shared with the SUPER+? cheatsheet
|
||||
# (rofi.nix renders the same list). Edit them in ./keybinds.nix.
|
||||
|
||||
@@ -87,8 +87,8 @@
|
||||
];
|
||||
|
||||
extra = [
|
||||
{ keys = "SUPER + 1-9"; desc = "Switch to workspace 1-9"; }
|
||||
{ keys = "SUPER + SHIFT + 1-9"; desc = "Move window to workspace 1-9"; }
|
||||
{ keys = "SUPER + 1-9, 0"; desc = "Switch to workspace 1-10 (0 = 10)"; }
|
||||
{ keys = "SUPER + SHIFT + 1-9, 0"; desc = "Move window to workspace 1-10 (0 = 10)"; }
|
||||
{ keys = "SUPER + drag"; desc = "Move (LMB) / resize (RMB) window"; }
|
||||
{ keys = "Volume / Brightness"; desc = "Hardware keys, shown via the OSD"; }
|
||||
{ keys = "Bar: click"; desc = "Caffeine — hold the screen awake (idle inhibitor)"; }
|
||||
|
||||
Reference in New Issue
Block a user