more comments in hyprland configuration
This commit is contained in:
1 parent
8160868afe
commit
30cae3814c
15 files changed
+431
-450
No files matched your search
+15
-10
@@ -1,16 +1,21 @@
|
||||
#-------- hypridle configuration --------------------------------------------------------
|
||||
#----- general configuration ------------------------------------------------------------
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
lock_cmd = pidof hyprlock || hyprlock # lock command
|
||||
before_sleep_cmd = loginctl lock-session # before sleep command is lock-session
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------------------
|
||||
#----- listener 600 seconds(10 minutes) -------------------------------------------------
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = loginctl lock-session
|
||||
timeout = 600 # timeout
|
||||
on-timeout = loginctl lock-session # command when timeout
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------------------
|
||||
#------ listener 7200 seconds(2 hours) --------------------------------------------------
|
||||
listener {
|
||||
timeout = 7200
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-timeout = hyprctl dispatch dpms on
|
||||
timeout = 7200 # timeout
|
||||
on-timeout = hyprctl dispatch dpms off # command when timeout
|
||||
on-timeout = hyprctl dispatch dpms on # command when timeout
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------------------
|
||||
#----------------------------------------------------------------------------------------
|
||||
Reference in new issue
Block a user