summaryrefslogtreecommitdiff
path: root/.local/bin/hyprmove
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/hyprmove')
-rwxr-xr-x.local/bin/hyprmove6
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/hyprmove b/.local/bin/hyprmove
new file mode 100755
index 0000000..c5ca1c3
--- /dev/null
+++ b/.local/bin/hyprmove
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+chronic hyprctl dispatch movetoworkspace "$(
+ hyprctl -j activeworkspace \
+ | jq --arg n "$1" '.monitorID * 10 + ($n | tonumber)'
+)"