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