Change polkit-mate package

This commit is contained in:
Thomas Avé 2026-03-13 14:54:39 +07:00
parent a7c057eff4
commit 9941dba87a
1 changed files with 7 additions and 6 deletions

View File

@ -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)
);
};
};