fatass commit for the rice
This commit is contained in:
parent
266d1b3deb
commit
89ac1c676d
28 changed files with 1101 additions and 587 deletions
26
modules/nixos/programs/desktop/niri/swaybg.nix
Normal file
26
modules/nixos/programs/desktop/niri/swaybg.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
home-manager.users.wo2w = {
|
||||
home.packages = [ pkgs.swaybg ];
|
||||
|
||||
systemd.user.services.swaybg = {
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
|
||||
Service = {
|
||||
ExecStart = ''
|
||||
${lib.getExe pkgs.swaybg} -o eDP-1 -i /home/wo2w/Pictures/Wallpapers/oneshot1.png -m fill \
|
||||
-o DP-1 -i /home/wo2w/Pictures/Wallpapers/oneshot1.png -m fill \
|
||||
-o DP-2 -i /home/wo2w/Pictures/Wallpapers/oneshot2.png -m fill
|
||||
'';
|
||||
Restart = "always";
|
||||
};
|
||||
|
||||
Unit = {
|
||||
Description = "Custom user service for swaybg";
|
||||
After = [ "graphical-session.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue