Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: zzz-user-hooks-1.0.0
Date: Sun, 12 Jul 2020 05:29:31 +0200	[thread overview]
Message-ID: <20200712032931.Uyw4WPNKjlTl4nWSNj8WsL828tZIPz6JYzkf3tBfFis@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23430@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/23430#issuecomment-657169391

Comment:
I'm not sure of the best way to detect Wayland or X11. In my own use of `zzz` hooks, I avoid the issue altogether by creating triggers like `/run/zzz/will-sleep` and touch the trigger file on suspend. Any X11 or Wayland program that needs to run can just watch the trigger with inotify and act when appropriate.

  parent reply	other threads:[~2020-07-12  3:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23430@inbox.vuxu.org>
2020-07-06 23:48 ` [PR REVIEW] " sgn
2020-07-06 23:48 ` sgn
2020-07-06 23:58 ` [PR PATCH] [Updated] " anjandev
2020-07-07  0:00 ` [PR REVIEW] " anjandev
2020-07-07  0:00 ` anjandev
2020-07-07  0:01 ` [PR PATCH] [Updated] " anjandev
2020-07-11 20:23 ` [PR REVIEW] " ahesford
2020-07-11 21:54 ` [PR PATCH] [Updated] " anjandev
2020-07-11 21:58 ` anjandev
2020-07-12  3:29 ` ahesford [this message]
2020-07-23 14:10 ` sgn
2020-07-23 14:33 ` ahesford
2020-07-23 14:34 ` [PR PATCH] [Merged]: " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200712032931.Uyw4WPNKjlTl4nWSNj8WsL828tZIPz6JYzkf3tBfFis@z \
    --to=ahesford@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).