From c534f35bce9cb117a52f0be3aa14107bec3be108 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Fri, 18 Oct 2024 17:16:27 -0500 Subject: [PATCH] Swap to hypridle --- hyprland/.config/hypr/config.d/81-autostart-hypridle.conf | 3 +++ hyprland/.config/hypr/config.d/81-autostart-swayidle.conf | 3 --- hyprland/.config/hypr/hypridle.conf | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 hyprland/.config/hypr/config.d/81-autostart-hypridle.conf delete mode 100644 hyprland/.config/hypr/config.d/81-autostart-swayidle.conf diff --git a/hyprland/.config/hypr/config.d/81-autostart-hypridle.conf b/hyprland/.config/hypr/config.d/81-autostart-hypridle.conf new file mode 100644 index 00000000..945a1b5d --- /dev/null +++ b/hyprland/.config/hypr/config.d/81-autostart-hypridle.conf @@ -0,0 +1,3 @@ +# vim: set ft=config: +# Configuration for hypridle is in ~/.config/hypr/hypridle.conf +exec-once = hypridle diff --git a/hyprland/.config/hypr/config.d/81-autostart-swayidle.conf b/hyprland/.config/hypr/config.d/81-autostart-swayidle.conf deleted file mode 100644 index 0114e60c..00000000 --- a/hyprland/.config/hypr/config.d/81-autostart-swayidle.conf +++ /dev/null @@ -1,3 +0,0 @@ -# vim: set ft=config: -# Configuration for swayidle is in ~/.config/swayidle/config -exec-once = swayidle -w diff --git a/hyprland/.config/hypr/hypridle.conf b/hyprland/.config/hypr/hypridle.conf index c2806d0d..8f1564e3 100644 --- a/hyprland/.config/hypr/hypridle.conf +++ b/hyprland/.config/hypr/hypridle.conf @@ -1,8 +1,8 @@ # vim: set ft=config: # for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hypridle general { - lock_cmd = loginctl lock-session - unlock_cmd = loginctl unlock-session + lock_cmd = hyprlock + unlock_cmd = pkill -xu "$USER" -SIGUSR1 hyprlock } listener {