Skip to content

Commit

Permalink
[DOC] don't recommend --unit when app_id is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
Atemu committed Nov 12, 2024
1 parent 91dd739 commit 51eaeda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/rofi.1.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ Example to run applications in a dedicated cgroup with systemd. Requires a
shell to escape and interpolate the unit name correctly.

```bash
"bash -c 'systemd-run --user --unit=app-rofi-\"\$(systemd-escape \"{app_id}\")\"-\$RANDOM {cmd}'"
"bash -c 'systemd-run --user [--unit=app-rofi-\"\$(systemd-escape \"{app_id}\")\"-\$RANDOM] {cmd}'"
```

`-run-shell-command` *cmd*
Expand Down

0 comments on commit 51eaeda

Please sign in to comment.