Swayidle: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 25: | Line 25: | ||
# Lock command | # Lock command | ||
lock = "${pkgs.swaylock}/bin/swaylock --daemonize"; | lock = "${pkgs.swaylock}/bin/swaylock --daemonize"; | ||
# TODO: modify "display" function based on your window manager | |||
# Sway | # Sway | ||
display = status: "swaymsg 'output * power ${status}'"; \ | display = status: "swaymsg 'output * power ${status}'"; \ | ||