aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnirudh Oppiliappan <x@icyphox.sh>2021-12-26 09:29:55 +0530
committerAnirudh Oppiliappan <x@icyphox.sh>2021-12-26 09:29:55 +0530
commit73df1800321b760bc4114e2ab967a34a269f8d41 (patch)
tree00490b5a954c7a878147b40d5188a55b919fac14
parent99e5277c543f2f7e0ed2099accb3a862c36448d8 (diff)
downloaddotfiles-73df1800321b760bc4114e2ab967a34a269f8d41.tar.gz
Add signal-desktop launch script
-rwxr-xr-xbin/signal10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/signal b/bin/signal
new file mode 100755
index 0000000..b83e209
--- /dev/null
+++ b/bin/signal
@@ -0,0 +1,10 @@
1#!/bin/sh
2# signal: launch signal-desktop via a vm (vmm(4))
3
4status="$(vmctl status 1 | grep running)"
5if [ "$status" == "" ]; then
6 vmctl start pantwo
7 sleep 10
8fi
9
10ssh -Y pantwo signal-desktop &> /dev/null