diff options
Diffstat (limited to 'home/profiles')
-rw-r--r-- | home/profiles/gui/default.nix | 13 |
1 files changed, 11 insertions, 2 deletions
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 \ |