aboutsummaryrefslogtreecommitdiffstats
path: root/bin/hyprctl-zoom.sh
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-02-19 22:32:41 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-02-19 22:32:41 +0000
commit977a459ddaa33a856255be9c15464f0a5937c06c (patch)
tree9f4b2b86a0863fda1d8eebae05b1c99df1cf7af1 /bin/hyprctl-zoom.sh
parent373891b492424c64ba8071affd38801a057e35ef (diff)
Add scripts to repo
Diffstat (limited to 'bin/hyprctl-zoom.sh')
-rwxr-xr-xbin/hyprctl-zoom.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/hyprctl-zoom.sh b/bin/hyprctl-zoom.sh
new file mode 100755
index 0000000..5970ec0
--- /dev/null
+++ b/bin/hyprctl-zoom.sh
@@ -0,0 +1,15 @@
+#/bin/bash
+
+case $1 in
+ i)
+ echo "plus" | nc -NU /tmp/hyprctl-zoom.sock
+ ;;
+ d)
+ echo "minus" | nc -NU /tmp/hyprctl-zoom.sock
+ ;;
+ *)
+ echo "Usage: $0 [id]"
+ exit 1
+ ;;
+esac
+