diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-02-28 13:42:04 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-02-28 13:42:04 +0100 |
commit | 4d13e0ae5991af6a4858afaa98079cb824c02cf0 (patch) | |
tree | 90d7595cb1a10878d3c4392fbc02cbf89f20a696 /.local/bin | |
parent | 71b674b0f5aafec47c425aa2341b01c1d015d3f8 (diff) |
hyprmove, hyprwork: Add scripts for better multimonitor support
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/hyprmove | 6 | ||||
-rwxr-xr-x | .local/bin/hyprwork | 6 |
2 files changed, 12 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)' +)" 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)' +)" |