aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/gui
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-25 20:23:00 +0900
committersefidel <contact@sefidel.net>2023-08-25 20:23:00 +0900
commit6ac33ae4e637cc2e514fc11d199faa4eac7637ae (patch)
treecfe1cd7cdb879a3210c948bcc23fb665d174cafb /home/profiles/gui
parent7cd3a790c09806b8c8e0e16d844b352d5b4c39b1 (diff)
downloadnixrc-6ac33ae4e637cc2e514fc11d199faa4eac7637ae.zip
fix(home/gui): swaylock-effects -> swaylock
* fixes frequent RSOD on latest sway
Diffstat (limited to 'home/profiles/gui')
-rw-r--r--home/profiles/gui/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index 139307a..1d611b0 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -53,7 +53,7 @@ in
home.packages = [
# Sway
pkgs.autotiling
- pkgs.swaylock-effects
+ pkgs.swaylock
pkgs.swaybg
pkgs.wayland-utils
pkgs.wl-clipboard
@@ -124,14 +124,14 @@ in
swayidle = {
enable = true;
events = [
- { event = "before-sleep"; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2 --fade-in 0.2"; }
- { event = "lock"; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2 --fade-in 0.2"; }
+ { event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2"; }
+ { event = "lock"; command = "${pkgs.swaylock}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2"; }
];
timeouts = [
# 4m30s
{ timeout = 270; command = "${pkgs.libnotify}/bin/notify-send -t 30000 'Locking screen in 30 seconds'"; }
# 5m
- { timeout = 300; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2 --fade-in 0.2"; }
+ { timeout = 300; command = "${pkgs.swaylock}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2"; }
# 10m
{
timeout = 600;