From e34b8c11595b075d6384828ffe46badee8ac3df1 Mon Sep 17 00:00:00 2001 From: Ian Keane Date: Fri, 4 Jul 2025 11:45:14 -0400 Subject: [PATCH] xwayland-satellite, scroll, more bindings --- niri.kdl | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/niri.kdl b/niri.kdl index 1175667..802f5a7 100644 --- a/niri.kdl +++ b/niri.kdl @@ -6,6 +6,12 @@ // Ask clients to omit their client-side decorations prefer-no-csd +spawn-at-startup "xwayland-satellite" + +environment { + DISPLAY ":1" +} + input { keyboard { xkb { @@ -17,7 +23,8 @@ input { touchpad { tap - natural-scroll + // natural-scroll + scroll-factor 0.35 } mouse { @@ -84,7 +91,7 @@ binds { Super+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; } Super+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } - // Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } + Super+E { spawn "ndrop" "emacsclient -c"; } XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; } XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; } @@ -138,8 +145,8 @@ binds { Super+Page_Down { focus-workspace-down; } Super+Page_Up { focus-workspace-up; } - Super+U { focus-workspace-down; } - Super+I { focus-workspace-up; } + Super+N { focus-workspace-down; } + Super+P { focus-workspace-up; } Super+Ctrl+Page_Down { move-column-to-workspace-down; } Super+Ctrl+Page_Up { move-column-to-workspace-up; } Super+Ctrl+U { move-column-to-workspace-down; }