Skip to content

Commit f2ffb5a

Browse files
committed
[DOC] use new app_id in systemd-run example
1 parent d8cedd9 commit f2ffb5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rofi.1.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ Example to run applications in a dedicated cgroup with systemd. Requires a
609609
shell to escape and interpolate the unit name correctly.
610610

611611
```bash
612-
"bash -c 'systemd-run --user --unit=app-rofi-\"\$(systemd-escape \"\$(basename \"{cmd}\")\")\"-\$RANDOM {cmd}'"
612+
"bash -c 'systemd-run --user --unit=app-rofi-\"\$(systemd-escape \"{app_id}\")\"-\$RANDOM {cmd}'"
613613
```
614614

615615
`-run-shell-command` *cmd*

0 commit comments

Comments
 (0)