Swayidle: Difference between revisions

34j (talk | contribs)
mNo edit summary
34j (talk | contribs)
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}'"; \