Browse Source

wl-logout/layout: no need to invoke hyprlock seperately

invoking hyprlock before systemctl seem to hang the "process of hibernate/suspend"
password needs to be entered then it will invoke systemctl hibernate/suspend
so, no need to invoke hyprlock seperately

remove comments as wl-logout does not support "comments", it fail to start with comments
pull/214/head
John Titor 2 years ago
parent
commit
84c265ff6f
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0
  1. 6
      config/wlogout/layout

6
config/wlogout/layout

@ -24,15 +24,13 @@
}
{
"label" : "suspend",
// "action" : "swaylock -f && systemctl suspend",
"action" : "hyprlock --immediate && systemctl suspend",
"action" : "systemctl suspend",
"text" : "Suspend",
"keybind" : "u"
}
{
"label" : "hibernate",
// "action" : "swaylock -f && systemctl hibernate",
"action" : "hyprlock --immediate && systemctl hibernate",
"action" : "systemctl hibernate",
"text" : "Hibernate",
"keybind" : "h"
}
Loading…
Cancel
Save