From 703cd0264b23084926f21217ca56ddd4003e3a1c Mon Sep 17 00:00:00 2001 From: reo101 Date: Thu, 25 Jul 2024 13:45:31 +0300 Subject: [PATCH] fix(swww)!: remove Does not currently build --- modules/home-manager/reo101-river/default.nix | 43 ++++++++++--------- modules/home-manager/reo101-river/river | 10 ++--- pkgs/default.nix | 3 +- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/modules/home-manager/reo101-river/default.nix b/modules/home-manager/reo101-river/default.nix index 1bf2012..9ba2a22 100644 --- a/modules/home-manager/reo101-river/default.nix +++ b/modules/home-manager/reo101-river/default.nix @@ -27,7 +27,8 @@ in builtins.concatLists [ [ river - swww # wallpaper deamon + # FIXME: does not build + # swww # wallpaper deamon waybar # status bar xwayland wl-clipboard @@ -53,26 +54,26 @@ in source = ./style.css; }; - systemd.user.services."swww" = { - Unit = { - Description = "swww Daemon"; - PartOf = "graphical-session.target"; - }; - Service = { - ExecStart = "${pkgs.swww}/bin/swww init --no-daemon"; - ExecStop = "${pkgs.swww}/bin/swww kill"; - Type = "simple"; - Restart = "always"; - RestartSec = 5; - }; - Install = { - WantedBy = [ "graphical-session.target" ]; - }; - # description = "Swww Deamon"; - # wantedBy = [ "graphical-session.target" ]; - # partOf = [ "graphical-session.target" ]; - # script = "${pkgs.swww}/bin/swww init --no-daemon"; - }; + # systemd.user.services."swww" = { + # Unit = { + # Description = "swww Daemon"; + # PartOf = "graphical-session.target"; + # }; + # Service = { + # ExecStart = "${pkgs.swww}/bin/swww init --no-daemon"; + # ExecStop = "${pkgs.swww}/bin/swww kill"; + # Type = "simple"; + # Restart = "always"; + # RestartSec = 5; + # }; + # Install = { + # WantedBy = [ "graphical-session.target" ]; + # }; + # # description = "Swww Deamon"; + # # wantedBy = [ "graphical-session.target" ]; + # # partOf = [ "graphical-session.target" ]; + # # script = "${pkgs.swww}/bin/swww init --no-daemon"; + # }; # services.swww = { # enabled = true; diff --git a/modules/home-manager/reo101-river/river b/modules/home-manager/reo101-river/river index 8129fa5..97ee795 100644 --- a/modules/home-manager/reo101-river/river +++ b/modules/home-manager/reo101-river/river @@ -169,10 +169,10 @@ wireplumber & waybar & # Set wallpaper -{ - swww init - local last_bg = "${HOME}/Wallpapers/last" - [ -f "${last_bg}" ] && swww img "${last_bg}" -} +# { +# swww init +# local last_bg = "${HOME}/Wallpapers/last" +# [ -f "${last_bg}" ] && swww img "${last_bg}" +# } exec rivertile -view-padding 6 -outer-padding 6 diff --git a/pkgs/default.nix b/pkgs/default.nix index bdb61e9..8297c98 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -16,7 +16,8 @@ # FIXME: only buildable on darwin # pngpaste = pkgs.callPackage ./pngpaste { }; srtool-cli = pkgs.callPackage ./srtool-cli { }; - swww = pkgs.callPackage ./swww { }; + # FIXME: does not build + # swww = pkgs.callPackage ./swww { }; vim-fmi-cli = pkgs.callPackage ./vim-fmi-cli { }; win2xcur = pkgs.callPackage ./win2xcur { }; }