yep commit
This commit is contained in:
24
mods/wallpaper.nix
Normal file
24
mods/wallpaper.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ 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" ]; };
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user