Open anotherhadi opened 5 months ago
The Nix loop for workspaces on the Home Manager page (https://wiki.hyprland.org/Nix/Hyprland-on-Home-Manager/) appears to be broken. Here's my corrected version:
bind = [ # ... ] ++ ( # workspaces # binds $mod + [shift +] {1..10} to [move to] workspace {1..10} builtins.concatLists (builtins.genList (i: let ws = i + 1; in [ "$mod, code:1${toString i}, workspace, ${toString ws}" "$mod SHIFT, code:1${toString i}, movetoworkspace, ${toString ws}" ]) 9));
Don't know if the issue was due to an older version of Hyprland, Is anyone else also using it in Home Manager?
@fufexan
I'm still using the snippet in the wiki and it works fine. However, I haven't updated Hyprland in a few days. Perhaps something changed?
The Nix loop for workspaces on the Home Manager page (https://wiki.hyprland.org/Nix/Hyprland-on-Home-Manager/) appears to be broken. Here's my corrected version:
Don't know if the issue was due to an older version of Hyprland, Is anyone else also using it in Home Manager?