update hyrpland config

This commit is contained in:
dim
2025-03-05 11:32:09 +07:00
parent a8f1d7e717
commit 19cc2796d0
6 changed files with 28 additions and 21 deletions

View File

@@ -34,21 +34,17 @@ in {
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
systemd = {
enable = true;
variables = [ "--all" ];
};
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
package =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
settings = {
"$mod" = "SUPER";
"$shiftMod" = "SUPER_SHIFT";
"$ctrlMod" = "SUPER_CTRL";
exec-once = [
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
];
exec-once = [ "dbus-update-activation-environment --systemd --all" ];
plugin = { overview = { autoDrag = false; }; };
@@ -102,7 +98,6 @@ in {
gaps_in = gaps-in;
gaps_out = gaps-out;
border_size = border-size;
border_part_of_window = true;
layout = "master";
};