all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: help-guix@gnu.org, jordi <jordila@librebits.info>
Subject: Re: bash scripts in Guix question - suspend ?
Date: Wed, 05 Oct 2022 10:29:30 +0000	[thread overview]
Message-ID: <5BE0CFD5-E941-445E-B011-EEEFA6BE9DF3@tobias.gr> (raw)
In-Reply-To: <Yz1S+mCb95p+ytXW@mercurio>

Hi jordi,

>I'm puzzled, as long as   'loginctl suspend' is working in the shell

But '~/.config/i3/i3exit loginctl suspend' isn't.

Judging by your original snippet, you've mashed two commands together: you meant either

  ~/.config/i3/i3exit suspend

or

  loginctl suspend

But nobody here can tell you for certain how to call your 'i3exit' script without knowing what's in it.

Aside: you seem to be writing a wrapper script to wrap a wrapper script to call a wrapper for writing to /proc.  Is that necessary?  It can make things hard to follow.


Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.


  reply	other threads:[~2022-10-05 10:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04 13:18 bash scripts in Guix question jordi
2022-10-04 14:10 ` Ekaitz Zarraga
2022-10-04 14:31 ` Fulbert
2022-10-04 14:38 ` Olivier Dion via
2022-10-05  3:38   ` Maxim Cournoyer
2022-10-05  3:58     ` Olivier Dion via
2022-10-05  9:48       ` bash scripts in Guix question - suspend ? jordi
2022-10-05 10:29         ` Tobias Geerinckx-Rice [this message]
2022-10-06  0:43       ` bash scripts in Guix question Maxim Cournoyer
2022-10-06  0:56         ` Olivier Dion via

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=5BE0CFD5-E941-445E-B011-EEEFA6BE9DF3@tobias.gr \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=jordila@librebits.info \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.