diff --git a/.config/hypr/conf.d/40-keybinds.conf##hostname.viking-mate b/.config/hypr/conf.d/40-keybinds.conf##hostname.viking-mate index d55f68d..af2874d 100644 --- a/.config/hypr/conf.d/40-keybinds.conf##hostname.viking-mate +++ b/.config/hypr/conf.d/40-keybinds.conf##hostname.viking-mate @@ -41,6 +41,8 @@ bind = $mainMod, E, exec, $fileManager bind = $mainMod, D, exec, $launcher bind = $mainMod SHIFT, D, exec, $uuctl bind = $mainMod, PERIOD, exec, $emote +bind = $mainMod, F12, exec, pkill -SIGUSR2 waybar + # SwayNC controls bind = $mainMod, Grave, exec, $notcenter diff --git a/.config/hypr/hypridle.conf##hostname.viking-mate b/.config/hypr/hypridle.conf##hostname.viking-mate index a662525..a32d0a0 100644 --- a/.config/hypr/hypridle.conf##hostname.viking-mate +++ b/.config/hypr/hypridle.conf##hostname.viking-mate @@ -1,33 +1,21 @@ -# Laptop: dim -> lock -> dpms off -> suspend +# Same as cn-arch: lock at 10 min, screen off at 15 min. + general { lock_cmd = hyprlock before_sleep_cmd = hyprlock after_sleep_cmd = hyprctl dispatch dpms on } -# Dim after 4 min +# Lock after 10 minutes listener { - timeout = 240 - on-timeout = brightnessctl -s set 10% - on-resume = brightnessctl -r -} - -# Lock after 6 min -listener { - timeout = 360 + timeout = 600 on-timeout = hyprlock } -# Screen off after 8 min +# DPMS off after 15 minutes (wakes on input) listener { - timeout = 480 + timeout = 900 on-timeout = hyprctl dispatch dpms off on-resume = hyprctl dispatch dpms on } -# Suspend after 20 min -listener { - timeout = 1200 - on-timeout = systemctl suspend -} - diff --git a/.config/hypr/hyprlock.conf##hostname.viking-mate b/.config/hypr/hyprlock.conf##hostname.viking-mate index 7c6ceba..69fd5d2 100644 --- a/.config/hypr/hyprlock.conf##hostname.viking-mate +++ b/.config/hypr/hyprlock.conf##hostname.viking-mate @@ -1,5 +1,35 @@ -background { path = ~/.config/hypr/images/standard.jpg; blur_size = 8; blur_passes = 2; brightness = 0.7; } -input-field { outline_thickness = 2; rounding = 8; size = 300, 42; position = 0, -100; dots_center = true; } -label { text = $TIME; font_size = 32; position = 0, 40; color = rgba(ffffffff); } -label { text = $USER; font_size = 16; position = 0, 80; color = rgba(ddddddff); } +# Same minimal lock as cn-arch + +background { + monitor = + path = ~/.config/hypr/images/standard.jpg + blur_size = 8 + blur_passes = 2 + brightness = 0.7 +} + +input-field { + monitor = + outline_thickness = 2 + rounding = 8 + size = 300, 42 + position = 0, -100 + dots_center = true +} + +label { + monitor = + text = $TIME + font_size = 32 + position = 0, 40 + color = rgba(ffffffff) +} + +label { + monitor = + text = $USER + font_size = 16 + position = 0, 80 + color = rgba(ddddddff) +}