From f72f3fbeecabadd966e54f4d347fad5d5141c2c7 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 27 Sep 2017 15:22:12 -0700 Subject: lstwitch: add pubg alias --- lstwitch.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lstwitch.rb b/lstwitch.rb index 8c7b4a2..be3d233 100755 --- a/lstwitch.rb +++ b/lstwitch.rb @@ -10,6 +10,9 @@ unless ARGV.empty? if ARGV[0] == 'APB' or ARGV[0] == 'apb' game = "&game=APB%20Reloaded" end + if ARGV[0] == 'PUBG' or ARGV[0] == 'pubg' + game = "&game=#{URI.escape("PLAYERUNKNOWN'S BATTLEGROUNDS")}" + end end confdir = Dir.home + '/.config/twitch/' -- cgit v1.2.3