monitor swapping scripts
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
dir=$1
|
||||
config=$(hyprctl monitors -j | jq -r '.[] | select(.focused) | "\(.name),transform,'$dir'"')
|
||||
|
||||
echo $config
|
||||
|
||||
hyprctl keyword monitor $config
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
dir=$1
|
||||
echo "current monitor $1"
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
monitor=$(hyprctl monitors -j | jq -r 'first(.[] | select(.focused == false) | .name)')
|
||||
hyprctl dispatch movecurrentworkspacetomonitor $monitor
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
monitor=$(hyprctl monitors -j | jq -r 'first(.[] | select(.focused == false) | .name)')
|
||||
|
||||
hyprctl dispatch focusmonitor $monitor
|
||||
Reference in New Issue
Block a user