Do you need help with the binding, or the command to make it sleep? For the command, if you're using systemd, try something like:
systemctl start suspend.target You probably need sudo or polkit or something to get the right privileges. On Tue, Sep 1, 2020 at 9:39 PM [email protected] <[email protected]> wrote: > This seems like a dumb question, but I'm having a hard time figuring out > how to set up a keyboard shortcut to put my computer to sleep. Anyone done > this successfully with qtile? > > - Kovas > > -- > You received this message because you are subscribed to the Google Groups > "qtile-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/qtile-dev/c6aed11a-6b52-4905-96d7-59cb7eb3ae28n%40googlegroups.com > <https://groups.google.com/d/msgid/qtile-dev/c6aed11a-6b52-4905-96d7-59cb7eb3ae28n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/CACVmprdQOVopbv52b5iY%3DnKU%2B0MQ7LNtsgaW-7sNWZ_75PayVQ%40mail.gmail.com.
