Swayidle: Difference between revisions
Fix events with duplicated entries not working |
Fix swaymsg package (prior to this change: `swaymsg: command not found`) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 27: | Line 27: | ||
# TODO: modify "display" function based on your window manager | # TODO: modify "display" function based on your window manager | ||
# Sway | # Sway | ||
display = status: "swaymsg 'output * power ${status}'"; | display = status: "${pkgs.sway}/bin/swaymsg 'output * power ${status}'"; | ||
# Hyprland | # Hyprland | ||
# display = status: "hyprctl dispatch dpms ${status}"; | # display = status: "hyprctl dispatch dpms ${status}"; | ||
| Line 74: | Line 74: | ||
]; | ]; | ||
}; | }; | ||
}} | |name=~/.config/home-manager/home.nix|lang=nix}} | ||
See [https://man.archlinux.org/man/extra/swayidle/swayidle.1.en the man page] for further information. | See [https://man.archlinux.org/man/extra/swayidle/swayidle.1.en the man page] for further information. | ||