Updated river for multi monitor and added kanshi

This commit is contained in:
nils 2025-01-14 10:30:37 +01:00
parent 6f4a6ec2ea
commit 3d1a18d8fa
4 changed files with 9 additions and 5 deletions

View file

@ -0,0 +1 @@
../kanshi

2
.config/dinit.d/kanshi Normal file
View file

@ -0,0 +1,2 @@
type = process
command = kanshi

View file

@ -31,8 +31,8 @@ riverctl map normal Super Period focus-output next
riverctl map normal Super Comma focus-output previous riverctl map normal Super Comma focus-output previous
# Super+Shift+{Period,Comma} to send the focused view to the next/previous output # 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 Period send-to-output -current-tags next
riverctl map normal Super+Shift Comma send-to-output previous riverctl map normal Super+Shift Comma send-to-output -current-tags previous
# Super+Alt+{H,J,K,L} to move views # Super+Alt+{H,J,K,L} to move views
riverctl map normal Super+Alt H move left 100 riverctl map normal Super+Alt H move left 100

View file

@ -23,6 +23,10 @@ riverctl declare-mode passthrough
riverctl default-layout bsp-layout riverctl default-layout bsp-layout
river-bsp-layout --inner-gap 2 --outer-gap 4 --split-perc 0.5 --og-top 0 & 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 -------------- # --- Device input settings --------------
@ -34,6 +38,3 @@ riverctl set-repeat 50 300
# Natural scroll # Natural scroll
riverctl input pointer-1160-4639-DELL08B8:00_0488:121F_Touchpad natural-scroll enabled riverctl input pointer-1160-4639-DELL08B8:00_0488:121F_Touchpad natural-scroll enabled
# Set focus-follow
riverctl focus-follows-cursor normal