From 164075ea0ed451b1ccb094921a1d3383816dee1e Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 27 Aug 2023 11:42:29 +0900 Subject: fix(home/gui): use master swaylock-effects --- home/profiles/gui/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'home/profiles') diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix index 0927d1a..1ae0edb 100644 --- a/home/profiles/gui/default.nix +++ b/home/profiles/gui/default.nix @@ -53,7 +53,6 @@ in home.packages = [ # Sway pkgs.autotiling - pkgs.swaylock-effects pkgs.swaybg pkgs.wayland-utils pkgs.wl-clipboard @@ -123,7 +122,17 @@ in swayidle = let - lockCommand = ''${pkgs.swaylock-effects}/bin/swaylock \ + # TODO: remove when >1.6.11 + # Fixes frequent RSOD + swaylock-effects = pkgs.swaylock-effects.overrideAttrs { + src = pkgs.fetchFromGitHub { + owner = "jirutka"; + repo = "swaylock-effects"; + rev = "7c5681ce96587ce3090c6698501faeccdfdc157d"; + sha256 = "sha256-09Kq90wIIF9lPjiY2anf9MSgi/EqeXKXW1mFmhxA/aM="; + }; + }; + lockCommand = ''${swaylock-effects}/bin/swaylock \ --daemonize \ --screenshots \ --clock \ -- cgit 1.4.1