summaryrefslogtreecommitdiff
path: root/run_steam.sh
diff options
context:
space:
mode:
authorgarhve <git@garhve.com>2024-09-18 20:35:11 +0800
committergarhve <git@garhve.com>2024-09-18 20:35:11 +0800
commit645463dbfbbbeb358b42ac877744ac161843c6ac (patch)
tree40ae37a9c5c43097c11e0b2a1f0c5ad08eb327d9 /run_steam.sh
parent14298fad930049e0a2b52b96e67434c60a54eee9 (diff)
script to run steam with proxy on in tmux in hyprland WM, this could be extended to wider useHEADmain
Diffstat (limited to 'run_steam.sh')
-rwxr-xr-xrun_steam.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/run_steam.sh b/run_steam.sh
new file mode 100755
index 0000000..74c0578
--- /dev/null
+++ b/run_steam.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env sh
+
+######################################################################
+# @author : pico (pico@$HOSTNAME)
+# @file : run_steam
+# @created : Wednesday Sep 18, 2024 19:54:11 CST
+#
+# @description :
+######################################################################
+
+addr="127.0.0.1:7897"
+pro="export http_proxy=$addr && export https_proxy=$addr"
+tmux new-session -d -s steam '$pro && $(steam)'