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/hyprwork | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .local/bin/hyprwork (limited to '.local/bin/hyprwork') diff --git a/.local/bin/hyprwork b/.local/bin/hyprwork new file mode 100755 index 0000000..89a7ba0 --- /dev/null +++ b/.local/bin/hyprwork @@ -0,0 +1,6 @@ +#!/bin/sh + +chronic hyprctl dispatch workspace "$( + hyprctl -j activeworkspace \ + | jq --arg n "$1" '.monitorID * 10 + ($n | tonumber)' +)" -- cgit v1.2.3