From 194a59608edf3b9f5e9c1e87ee248927d93397b5 Mon Sep 17 00:00:00 2001
From: pancakes <trypancakes@tutanota.com>
Date: Tue, 2 Apr 2024 16:28:05 +1000
Subject: [PATCH] Improve multi monitor

---
 kanshi/.config/kanshi/config |  4 +---
 river/.config/river/init     | 36 ++++++++++++------------------------
 2 files changed, 13 insertions(+), 27 deletions(-)

diff --git a/kanshi/.config/kanshi/config b/kanshi/.config/kanshi/config
index 1a6fc62..bb9fb93 100644
--- a/kanshi/.config/kanshi/config
+++ b/kanshi/.config/kanshi/config
@@ -11,15 +11,13 @@ profile amida2 {
     output "AOC 27G2G4 GYGL9HA232568" {
         adaptive_sync on
         mode 1920x1080@144Hz
-        position 720,50
-        scale 1.0
+        position 1080,100
     }
 
     output "AOC 2470W GGJH9HA056165" {
         adaptive_sync off
         mode 1920x1080@60Hz
         position 0,0
-        scale 1.5
         transform 90
     }
 
diff --git a/river/.config/river/init b/river/.config/river/init
index 2d85792..7d10f5d 100755
--- a/river/.config/river/init
+++ b/river/.config/river/init
@@ -118,36 +118,24 @@ riverctl map normal Super K focus-view previous
 riverctl map normal Super+Shift J swap next
 riverctl map normal Super+Shift K swap previous
 
-# Super+Period and Super+Comma to focus the next/previous output
-riverctl map normal Super Period focus-output next
-riverctl map normal Super Comma focus-output previous
+# Super+H and Super+L to focus the previous/next output
+riverctl map normal Super H focus-output previous
+riverctl map normal Super L focus-output next
 
-# Super+Shift+{Period,Comma} to send the focused view to the next/previous output
-riverctl map normal Super+Shift Period send-to-output next
-riverctl map normal Super+Shift Comma send-to-output previous
+# Super+Shift+H and Super+Shift+L to send the focused view to the next/previous output
+riverctl map normal Super+Shift H send-to-output previous
+riverctl map normal Super+Shift L send-to-output next
 
 # Super+Return to bump the focused view to the top of the layout stack
 riverctl map normal Super I zoom
 
-# Super+H and Super+L to decrease/increase the main ratio of rivertile(1)
-riverctl map normal Super H send-layout-cmd rivertile "main-ratio -0.05"
-riverctl map normal Super L send-layout-cmd rivertile "main-ratio +0.05"
+# Super+- and Super+= to decrease/increase the main ratio of rivertile(1)
+riverctl map normal Super Minus send-layout-cmd rivertile "main-ratio -0.05"
+riverctl map normal Super Equal send-layout-cmd rivertile "main-ratio +0.05"
 
-# Super+Shift+H and Super+Shift+L to decrement/increment the main count of rivertile(1)
-riverctl map normal Super+Shift H send-layout-cmd rivertile "main-count -1"
-riverctl map normal Super+Shift L send-layout-cmd rivertile "main-count +1"
-
-# Super+Alt+{H,J,K,L} to move views
-riverctl map normal Super+Alt H move left 100
-riverctl map normal Super+Alt J move down 100
-riverctl map normal Super+Alt K move up 100
-riverctl map normal Super+Alt L move right 100
-
-# Super+Alt+Shift+{H,J,K,L} to resize views
-riverctl map normal Super+Alt+Shift H resize horizontal -100
-riverctl map normal Super+Alt+Shift J resize vertical 100
-riverctl map normal Super+Alt+Shift K resize vertical -100
-riverctl map normal Super+Alt+Shift L resize horizontal 100
+# Super+Shift+- and Super+Shift+= to decrement/increment the main count of rivertile(1)
+riverctl map normal Super+Shift Minus send-layout-cmd rivertile "main-count -1"
+riverctl map normal Super+Shift Equal send-layout-cmd rivertile "main-count +1"
 
 # Super + Left Mouse Button to move views
 riverctl map-pointer normal Super BTN_LEFT move-view