mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-26 18:47:29 -05:00
Fix for nix
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Has been cancelled
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1 @@
|
||||
This folder contains tweakd configs when --via-nix is specified.
|
||||
@@ -0,0 +1,26 @@
|
||||
$lock_cmd = swaylock -c 000000
|
||||
# $lock_cmd = pidof hyprlock || hyprlock
|
||||
$suspend_cmd = systemctl suspend || loginctl suspend
|
||||
|
||||
general {
|
||||
lock_cmd = $lock_cmd
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch global quickshell:lockFocus
|
||||
inhibit_sleep = 3
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5mins
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600 # 10mins
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 900 # 15mins
|
||||
on-timeout = $suspend_cmd
|
||||
}
|
||||
Reference in New Issue
Block a user