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:
parent
9a04e70e77
commit
3f274253ff
@ -25,4 +25,5 @@ exec systemd-run \
|
||||
--collect \
|
||||
--slice="$slice" \
|
||||
--unit="$slice-$1-$rand" \
|
||||
--property=BindsTo=graphical-session.target \
|
||||
${args[@]} -- "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user