mirror of
https://github.com/szymon-jozef/superior_dotfiles.git
synced 2026-09-07 20:20:38 +02:00
Update .config/hypr/hypridle.conf
Update .config/hypr/hyprland/binds/power.conf Update .config/hypr/hyprland/workspaces.conf
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
general {
|
general {
|
||||||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
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.
|
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 300 # 5min
|
timeout = 300 # 5min
|
||||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
on-timeout = hyprlock # lock screen when timeout has passed
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
@@ -18,5 +18,5 @@ listener {
|
|||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 1800 # 30min
|
timeout = 1800 # 30min
|
||||||
on-timeout = systemctl suspend # suspend pc
|
on-timeout = systemctl sleep # suspend pc
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
bind = $mainMod L_SHIFT ctrl, l, exec, hyprlock # lock
|
bind = $mainMod L_SHIFT ctrl, l, exec, hyprlock # lock
|
||||||
bind = $mainMod L_SHIFT ctrl, r, exec, systemctl reboot
|
bind = $mainMod L_SHIFT ctrl, r, exec, systemctl reboot
|
||||||
bind = $mainMod L_SHIFT ctrl, p, exec, systemctl poweroff
|
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
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ workspace = 1, monitor:DP-2
|
|||||||
workspace = 2, monitor:DP-1
|
workspace = 2, monitor:DP-1
|
||||||
workspace = 3, monitor:DP-1
|
workspace = 3, monitor:DP-1
|
||||||
workspace = 4, 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 = 7, monitor:HDMI-A-2
|
||||||
workspace = 9, monitor:DP-2
|
workspace = 9, monitor:DP-2
|
||||||
workspace = 10, monitor:DP-2
|
workspace = 10, monitor:DP-2
|
||||||
|
|||||||
Reference in New Issue
Block a user