1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

scripts/systemd-run-i3: bind applications to graphical session

When the graphical-session target exits, this should terminal all units
bound to it.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock 2020-08-18 13:17:55 +01:00
parent 9a04e70e77
commit 3f274253ff
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -25,4 +25,5 @@ exec systemd-run \
--collect \ --collect \
--slice="$slice" \ --slice="$slice" \
--unit="$slice-$1-$rand" \ --unit="$slice-$1-$rand" \
--property=BindsTo=graphical-session.target \
${args[@]} -- "$@" ${args[@]} -- "$@"