From 3d1a18d8fa020e721d14c00e959c323180456019 Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 14 Jan 2025 10:30:37 +0100 Subject: [PATCH] Updated river for multi monitor and added kanshi --- .config/dinit.d/graphical.d/kanshi | 1 + .config/dinit.d/kanshi | 2 ++ .config/river/binds | 4 ++-- .config/river/init | 7 ++++--- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 120000 .config/dinit.d/graphical.d/kanshi create mode 100644 .config/dinit.d/kanshi diff --git a/.config/dinit.d/graphical.d/kanshi b/.config/dinit.d/graphical.d/kanshi new file mode 120000 index 0000000..9c2747f --- /dev/null +++ b/.config/dinit.d/graphical.d/kanshi @@ -0,0 +1 @@ +../kanshi \ No newline at end of file diff --git a/.config/dinit.d/kanshi b/.config/dinit.d/kanshi new file mode 100644 index 0000000..0eb4cde --- /dev/null +++ b/.config/dinit.d/kanshi @@ -0,0 +1,2 @@ +type = process +command = kanshi diff --git a/.config/river/binds b/.config/river/binds index 6b93690..cf5b9fe 100755 --- a/.config/river/binds +++ b/.config/river/binds @@ -31,8 +31,8 @@ riverctl map normal Super Period focus-output next riverctl map normal Super Comma focus-output previous # 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 +riverctl map normal Super+Shift Period send-to-output -current-tags next +riverctl map normal Super+Shift Comma send-to-output -current-tags previous # Super+Alt+{H,J,K,L} to move views riverctl map normal Super+Alt H move left 100 diff --git a/.config/river/init b/.config/river/init index d693ea5..02f9407 100755 --- a/.config/river/init +++ b/.config/river/init @@ -23,6 +23,10 @@ riverctl declare-mode passthrough riverctl default-layout bsp-layout river-bsp-layout --inner-gap 2 --outer-gap 4 --split-perc 0.5 --og-top 0 & +# Set focus-follow and cursos-warp +riverctl focus-follows-cursor normal +riverctl set-cursor-warp on-output-change + # --- Device input settings -------------- @@ -34,6 +38,3 @@ riverctl set-repeat 50 300 # Natural scroll riverctl input pointer-1160-4639-DELL08B8:00_0488:121F_Touchpad natural-scroll enabled - -# Set focus-follow -riverctl focus-follows-cursor normal