From f629025368f93ef83b44734b1abb4aa6ae8028ec Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Fri, 16 Jun 2023 23:18:21 -0400 Subject: [PATCH] Fix swayidle --- home-manager/linux/programs/hyprland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/linux/programs/hyprland.nix b/home-manager/linux/programs/hyprland.nix index 1efe363..c46b087 100644 --- a/home-manager/linux/programs/hyprland.nix +++ b/home-manager/linux/programs/hyprland.nix @@ -275,8 +275,8 @@ in with lib; { # Turn off the displays after 10 minutes of inactivity { timeout = 600; - command = ''swaymsg "output * dpms off"''; - resumeCommand = ''swaymsg "output * dpms on"''; + command = "hyprctl dispatch dpms off"; + resumeCommand = "hyprctl dispatch dpms on"; } ]; };