diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-04 02:53:27 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-04 02:53:27 +0200 |
commit | 14c41cc89367b13d0d9d9f360428582954e8be3d (patch) | |
tree | 576907632d87a0dc00a4748fb4c1814fa25c6b3e /bin/extra/gml | |
parent | c7266e37ae575fad362890aa90d553df7b7dd827 (diff) |
added kill option
Diffstat (limited to 'bin/extra/gml')
-rwxr-xr-x | bin/extra/gml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/extra/gml b/bin/extra/gml index f00abcf..0f2f143 100755 --- a/bin/extra/gml +++ b/bin/extra/gml @@ -52,9 +52,13 @@ steam() 291550 brawlhalla 1712840 tiny tina 105600 terraria + kill EOF )" - [ "$choice" ] && setsid steam steam://rungameid/"$choice" + case "$choice" in + kill) pkill steam ;; + *) setsid steam steam://rungameid/"$choice" ;; + esac exit } |