#!/usr/bin/pwsh $option=(fuzzel --dmenu --prompt-only="Command to execute: ") $option -and ( # garbage `start-process`. systemd-run --user --scope --slice=AgExecBar.slice --unit="$(($option -split " ")[0])-$PID".scope /bin/sh -c "$option" )