about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-08-05 15:50:22 +0900
committersefidel <contact@sefidel.net>2024-08-06 16:01:40 +0900
commitf5f5f8ba39fc2e932ba08f2ae01b40fc81cd1dc8 (patch)
treedc086d08d00a682c9406dd675728e1a6d902a9ba /home
parent1299da1c5c416b56050d55257efdaf7609d5afb4 (diff)
downloadnixrc-f5f5f8ba39fc2e932ba08f2ae01b40fc81cd1dc8.tar.gz
nixrc-f5f5f8ba39fc2e932ba08f2ae01b40fc81cd1dc8.zip
feat(home/gui): remove dpms toggle on swayidle
* possibly the culprit of swayidle screen freezing on AMDGPU
Diffstat (limited to 'home')
-rw-r--r--home/profiles/gui/default.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index a2d3361..7cfa2e0 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -245,13 +245,7 @@ in
             { timeout = 270; command = "${pkgs.libnotify}/bin/notify-send -t 30000 'Locking screen in 30 seconds'"; }
             # 5m
             { timeout = 300; command = lockCommand; }
-          ] ++ lib.optionals (!cfg.laptop.enable)
-            [{
-              # 10m (desktop only)
-              timeout = 600;
-              command = "${config.wayland.windowManager.sway.package}/bin/swaymsg 'output * dpms off'";
-              resumeCommand = "${config.wayland.windowManager.sway.package}/bin/swaymsg 'output * dpms on'";
-            }] ++ [
+          ] ++ [
             {
               # 10m on laptops, 15m on desktop
               timeout = if cfg.laptop.enable then 600 else 900;