From a80269c82079dc7a2e10c12283d4c0dea0b4514b Mon Sep 17 00:00:00 2001 From: Matthieu AMET Date: Wed, 9 Oct 2024 10:23:03 +0200 Subject: [PATCH] Removed all occurences of swaylock --- Configs/.config/hypr/userprefs.t2 | 4 ++-- Configs/.config/wlogout/layout_1 | 4 ++-- Configs/.config/wlogout/layout_2 | 2 +- Scripts/restore_cfg.lst | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Configs/.config/hypr/userprefs.t2 b/Configs/.config/hypr/userprefs.t2 index 1a6102591f..b1fd9295ee 100644 --- a/Configs/.config/hypr/userprefs.t2 +++ b/Configs/.config/hypr/userprefs.t2 @@ -19,8 +19,8 @@ bind = $mainMod+Shift, G, exec, pkill -x rofi || $scrPath/gamelauncher.sh # laun # █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█ # █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█ -# exec-once = swayidle -w timeout 600 'swaylock' timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' # lock after 10 mins, sleep after 15 mins // install swayidle -# exec-once = swayidle -w timeout 1200 'swaylock; hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' timeout 1800 'systemctl suspend' # lock and sleep after 20 mins, suspend after 30 mins // install swayidle +# exec-once = swayidle -w timeout 600 'hyprlock' timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' # lock after 10 mins, sleep after 15 mins // install swayidle +# exec-once = swayidle -w timeout 1200 'hyprlock; hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' timeout 1800 'systemctl suspend' # lock and sleep after 20 mins, suspend after 30 mins // install swayidle # exec-once = libinput-gestures // install libinput-gestures # exec-once = swayosd-server # enable swayosd service # exec-once = `pkexec swayosd-libinput-backend` # swayosd service for keyboard input (requires to be run in a subshell) diff --git a/Configs/.config/wlogout/layout_1 b/Configs/.config/wlogout/layout_1 index 3aa06364dc..fc7ef0cd9f 100644 --- a/Configs/.config/wlogout/layout_1 +++ b/Configs/.config/wlogout/layout_1 @@ -1,6 +1,6 @@ { "label" : "lock", - "action" : "swaylock", + "action" : "hyprlock", "text" : "Lock", "keybind" : "l" } @@ -14,7 +14,7 @@ { "label" : "suspend", - "action" : "swaylock -f && systemctl suspend", + "action" : "hyprlock -f && systemctl suspend", "text" : "Suspend", "keybind" : "u" } diff --git a/Configs/.config/wlogout/layout_2 b/Configs/.config/wlogout/layout_2 index 9876330e23..dde0e4b6ea 100644 --- a/Configs/.config/wlogout/layout_2 +++ b/Configs/.config/wlogout/layout_2 @@ -1,6 +1,6 @@ { "label" : "lock", - "action" : "swaylock", + "action" : "hyprlock", "text" : "Lock", "keybind" : "l" } diff --git a/Scripts/restore_cfg.lst b/Scripts/restore_cfg.lst index 95645e6ca0..b7ddc8a187 100644 --- a/Scripts/restore_cfg.lst +++ b/Scripts/restore_cfg.lst @@ -7,6 +7,7 @@ N|Y|${HOME}/.config|fish|fish N|Y|${HOME}/.config|lsd|lsd Y|Y|${HOME}/.config/hyde|wallbash|hyprland Y|Y|${HOME}/.config/hypr|animations.conf hyprland.conf windowrules.conf hyprlock.conf themes|hyprland +N|Y|${HOME}/.config/hypr|hyprlock.conf|hyprlock N|Y|${HOME}/.config/hypr|keybindings.conf monitors.conf userprefs.conf|hyprland N|Y|${HOME}/.config|.face|hyprland N|Y|${HOME}/.config/hypr|nvidia.conf|hyprland nvidia-utils @@ -18,7 +19,6 @@ Y|Y|${HOME}/.config|fastfetch|fastfetch Y|Y|${HOME}/.config|qt5ct|qt5ct Y|Y|${HOME}/.config|qt6ct|qt6ct Y|Y|${HOME}/.config|rofi|rofi -Y|Y|${HOME}/.config|swaylock|swaylock-effects Y|Y|${HOME}/.config/waybar|modules config.jsonc style.css theme.css|waybar Y|Y|${HOME}/.config/waybar|config.ctl|waybar Y|Y|${HOME}/.config|wlogout|wlogout