command line / pgpu actions

pgpu actions

Save commands your phone can run with one tap. Phones with Control can run them; only Shell phones and this command line can change them.

$ pgpu actions add "Name" [--risky] [--icon I] [--timeout S] -- <command>

Example

$ pgpu actions add "Restart Ollama" -- systemctl --user restart ollama
Saved #1 Restart Ollama
$ pgpu actions
 ID  NAME                     RISKY TIMEOUT  COMMAND
  1  Restart Ollama                    600s  systemctl --user restart ollama

Options

--risky

Ask for Face ID or a fingerprint on the phone first.

--icon I

One of the icons from pgpu actions icons.

--timeout S

Stop it after S seconds (default 600).

edit <id|name>

Change fields: --name, --risky / --not-risky, --icon, --timeout, or a new command after --.

rm <id|name>

Delete an action.

All docs pages