mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 11:45:06 +01:00
Compare commits
2 commits
36b34af61a
...
8dbdbb8be8
| Author | SHA1 | Date | |
|---|---|---|---|
| 8dbdbb8be8 | |||
| e0e17e4ff6 |
1 changed files with 7 additions and 6 deletions
|
|
@ -5,16 +5,16 @@ let
|
||||||
pkg = (import
|
pkg = (import
|
||||||
(pkgs.fetchFromGitHub {
|
(pkgs.fetchFromGitHub {
|
||||||
owner = "Noratrieb";
|
owner = "Noratrieb";
|
||||||
repo = "wallpapersc";
|
repo = "colouncher";
|
||||||
rev = "1943eec7c55a6ac9e9b143493d90f9870b31f23a";
|
rev = "bee16cced1e03419f31534d2811233f7aadd0043";
|
||||||
hash = "sha256-AI2tnRz/NVyn+LyljMSUbxanqHzpduV2ex3yvbX/GR0=";
|
hash = "sha256-Aoyc2kk1xO4wfdi5+NT7Mhei2rvzaxP3Y9WifWqRN18=";
|
||||||
}))
|
}))
|
||||||
{ inherit pkgs; };
|
{ inherit pkgs; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
systemd.user.services.wallpapersc = {
|
systemd.user.services.colouncher = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "wallpaper daemon";
|
Description = "Color-based program-launching wallpaper for Wayland";
|
||||||
PartOf = [
|
PartOf = [
|
||||||
config.wayland.systemd.target
|
config.wayland.systemd.target
|
||||||
];
|
];
|
||||||
|
|
@ -22,8 +22,9 @@ in
|
||||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${pkg}/bin/wallpapersc";
|
ExecStart = pkgs.lib.getExe pkg;
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
Type = "notify";
|
||||||
};
|
};
|
||||||
|
|
||||||
Install.WantedBy = [
|
Install.WantedBy = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue