summary refs log tree commit diff
path: root/bin/hibiki/vncez
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hibiki/vncez')
-rwxr-xr-xbin/hibiki/vncez15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/hibiki/vncez b/bin/hibiki/vncez
new file mode 100755
index 0000000..021c35b
--- /dev/null
+++ b/bin/hibiki/vncez
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+trap '{ pkill wshowkeys; pkill wayvnc; pkill remmina; }' EXIT
+
+echo "=> starting wshowkeys"
+swaymsg exec "wshowkeys -a bottom -a left -F 'Iosevka Sparkle 25' -t 1" >/dev/null
+echo "=> starting wayvnc"
+swaymsg exec "wayvnc 0.0.0.0 5500" >/dev/null
+echo "=> starting remmina"
+swx -g "1820,50 720x450" -b none -s -I "org.remmina.Remmina" remmina -c $HOME/.local/share/remmina/group_vnc_wayvnc_localhost-5500.remmina
+
+while true; do
+	sleep $((1024*1024))
+done