summaryrefslogtreecommitdiff
path: root/bin/extra
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-10-04 02:53:27 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-10-04 02:53:27 +0200
commit14c41cc89367b13d0d9d9f360428582954e8be3d (patch)
tree576907632d87a0dc00a4748fb4c1814fa25c6b3e /bin/extra
parentc7266e37ae575fad362890aa90d553df7b7dd827 (diff)
added kill option
Diffstat (limited to 'bin/extra')
-rwxr-xr-xbin/extra/gml6
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
}