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

  • stuner@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    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.