Swayidle: Difference between revisions
mNo edit summary |
Fix events with duplicated entries not working |
||
Line 57: | Line 57: | ||
{ | { | ||
event = "before-sleep"; | event = "before-sleep"; | ||
command = display "off"; | # adding duplicated entries for the same event may not work | ||
command = (display "off") + "; " + lock; | |||
} | } | ||
{ | { | ||
Line 69: | Line 66: | ||
{ | { | ||
event = "lock"; | event = "lock"; | ||
command = | command = (display "off") + "; " + lock; | ||
} | } | ||
{ | { |