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