From 4d13e0ae5991af6a4858afaa98079cb824c02cf0 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 28 Feb 2024 13:42:04 +0100 Subject: hyprmove, hyprwork: Add scripts for better multimonitor support --- .local/bin/hyprmove | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .local/bin/hyprmove (limited to '.local/bin/hyprmove') 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)' +)" -- cgit v1.2.3