Update pyprland.nix

Added suggested changes, to exec the pyprland service from hyprland.
This commit is contained in:
knockoff 2024-04-23 12:24:03 +02:00 committed by GitHub
parent aecb02c4ba
commit b4c19aecb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ in with lib; {
++ (optional (cfg.settings.scratchpads != { }) "scratchpads");
};
};
wayland.windowManager.hyprland.settings.exec-once = [(getExe cfg.package)];
home.file.".config/hypr/pyprland.toml".source =
settingsFormat.generate "pyprland-config.toml" cfg.settings;
};