I know how to do it in the battery section through the GUI, but I’d like to set it up through a command, for automation purposes, and particularly for KDE Connect commands.

  • jpetso@lemmy.kde.social
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 days ago

    Anything that runs as long as you want the block to be. Usually sleep is a good one, use sleep infinity if you want the blocker to never go away until the systemd-inhibit process is killed manually.