From 0397f224181dcf0e490beedb50d5328ab53dd0d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 21 Nov 2024 18:00:19 +0100 Subject: [PATCH] Replace deprecated `swaymsg output dmps` with `swaymsg output power` --- symlinks/config/sway/conf.d/20_lockconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symlinks/config/sway/conf.d/20_lockconfig b/symlinks/config/sway/conf.d/20_lockconfig index 79ae1b4..ddce268 100644 --- a/symlinks/config/sway/conf.d/20_lockconfig +++ b/symlinks/config/sway/conf.d/20_lockconfig @@ -4,7 +4,7 @@ bindsym $alt+L exec 'swaylock' # IDLE CONFIG exec swayidle -w \ timeout 300 'swaylock' \ - timeout 330 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ + timeout 330 'swaymsg "output * power off"' \ + resume 'swaymsg "output * power on"' \ timeout 600 'systemctl suspend' \ before-sleep 'swaylock; playerctl pause'