Files
nixos/apps/hyprland/hypr/exec.nix
T
kenji 9ff47e94b2 fix(swayosd): ensure swayosd starts reliably
- Add explicit 'systemctl --user start swayosd' to Hyprland exec-once
- Harden systemd service definition with proper dependencies and targets
2026-01-15 15:52:35 -06:00

23 lines
488 B
Nix

{
pkgs,
config,
...
}: {
home.packages = with pkgs; [
psmisc
];
wayland.windowManager.hyprland.settings = {
exec = [
# "pkill -x hyprpaper; uwsm app -- hyprpaper"
# "matugen image ${config.home.homeDirectory}/.cache/current_wallpaper"
];
exec-once = [
# essentials
"hyprpm reload -n"
"systemctl --user start hyprpolkitagent"
"systemctl --user start swayosd"
"hyprsunset -t 4500" # TODO: must be optional
];
};
}