How is this not a built-in function of pacman?

  • stuner
    link
    fedilink
    arrow-up
    16
    ·
    1 day ago

    It’s not really an answer to your question, but you can let any shell command inhibit sleep by running it through systemd-inhibit, e.g. sudo systemd-inhibit pacman -Syu.

    • Victor
      link
      fedilink
      arrow-up
      8
      ·
      1 day ago

      Well that’s freaking useful innit, wow. Thank you for that!