25 lines
652 B
Nix
25 lines
652 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
systemd.user.services.hyprland-startup = {
|
|
Unit = {
|
|
Description = "Run startup commands after Hyprland starts";
|
|
After = [ "graphical-session.target" "hyprland.desktop.target" ];
|
|
Wants = [ "hyprland.desktop.target" ];
|
|
};
|
|
Service = {
|
|
ExecStart = [
|
|
"${pkgs.bash}/bin/bash -c ' \
|
|
linux-wallpaperengine --screen-root HDMI-A-2 2487567762; \
|
|
linux-wallpaperengine --screen-root HDMI-A-1 2870183951; \
|
|
linux-wallpaperengine --screen-root DP-2 2777842128"
|
|
];
|
|
Restart = "no";
|
|
Type = "oneshot";
|
|
};
|
|
Install = { WantedBy = [ "default.target" ]; };
|
|
};
|
|
|
|
}
|
|
|