diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index a652e48..ed62c80 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -116,7 +116,7 @@ in { "uwsm app -- hyprpaper" "uwsm app -- foot --server" "uwsm app -- hyprctl dispatch exec ags run" - "uwsm app -- ${pkgs.mate.mate-polkit}/bin/polkit-mate" + "uwsm app -- ${pkgs.mate-polkit}/bin/polkit-mate" ]; env = [ "WLR_NO_HARDWARE_CURSORS,1" @@ -286,11 +286,12 @@ in { ++ ( # workspaces builtins.concatLists (builtins.genList (x: let - ws = let c = (x + 1) / 10; in builtins.toString (x + 1 - (c * 10)); - in [ - "$mainMod, ${ws}, ${workspace_command_prefix}workspace, ${toString (x + 1)}" - "$mainMod SHIFT, ${ws}, ${workspace_command_prefix}movetoworkspace, ${toString (x + 1)}" - ]) 10) + ws = let c = (x + 1) / 10; in builtins.toString (x + 1 - (c * 10)); + in [ + "$mainMod, ${ws}, ${workspace_command_prefix}workspace, ${toString (x + 1)}" + "$mainMod SHIFT, ${ws}, ${workspace_command_prefix}movetoworkspace, ${toString (x + 1)}" + ]) + 10) ); }; };