From 9941dba87a2eb54de0da9c32f531d6713d097962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Fri, 13 Mar 2026 14:54:39 +0700 Subject: [PATCH] Change polkit-mate package --- home/hyprland/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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) ); }; };