Update .config/hypr/hypridle.conf

Update .config/hypr/hyprland/binds/power.conf
Update .config/hypr/hyprland/workspaces.conf
This commit is contained in:
2025-05-29 15:39:50 +02:00
parent ea863cdc9e
commit 1d6468d6ac
3 changed files with 6 additions and 4 deletions

View File

@@ -1,13 +1,13 @@
general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
before_sleep_cmd = hyprlock # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
listener {
timeout = 300 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed
on-timeout = hyprlock # lock screen when timeout has passed
}
listener {
@@ -18,5 +18,5 @@ listener {
listener {
timeout = 1800 # 30min
on-timeout = systemctl suspend # suspend pc
on-timeout = systemctl sleep # suspend pc
}

View File

@@ -1,4 +1,4 @@
bind = $mainMod L_SHIFT ctrl, l, exec, hyprlock # lock
bind = $mainMod L_SHIFT ctrl, r, exec, systemctl reboot
bind = $mainMod L_SHIFT ctrl, p, exec, systemctl poweroff
bind = $mainMod L_SHIFT ctrl, s, exec, systemctl suspend
bind = $mainMod L_SHIFT ctrl, s, exec, pidof hyprlock || sleep 1 && systemctl sleep

View File

@@ -2,6 +2,8 @@ workspace = 1, monitor:DP-2
workspace = 2, monitor:DP-1
workspace = 3, monitor:DP-1
workspace = 4, monitor:DP-1
workspace = 5, monitor:DP-1
workspace = 6, monitor:DP-1
workspace = 7, monitor:HDMI-A-2
workspace = 9, monitor:DP-2
workspace = 10, monitor:DP-2