From 47bc39d25a359c94e9a139be9d453a05694ef341 Mon Sep 17 00:00:00 2001 From: beeb5k Date: Sat, 20 Jun 2026 02:51:59 +0530 Subject: Font and cursor --- common/modules/window_managers/niri/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'common/modules/window_managers/niri/default.nix') diff --git a/common/modules/window_managers/niri/default.nix b/common/modules/window_managers/niri/default.nix index ac2d99e..4548839 100644 --- a/common/modules/window_managers/niri/default.nix +++ b/common/modules/window_managers/niri/default.nix @@ -47,11 +47,21 @@ in // scroll-method "two-finger" // disabled-on-external-mouse } + mouse { + scroll-method "on-button-down" + scroll-button 274 // "middle" is also accepted + + scroll-button-lock + } warp-mouse-to-focus focus-follows-mouse max-scroll-amount="0%" } + clipboard { + disable-primary + } + output "eDP-1" { mode "1920x1080@120.030" scale 1 @@ -253,7 +263,7 @@ in ''} Mod+E hotkey-overlay-title="Open wallpaper picker" { spawn-sh "nautilus"; } - Mod+B hotkey-overlay-title="Open wallpaper picker" { spawn-sh "librewolf"; } + Mod+B hotkey-overlay-title="Open wallpaper picker" { spawn-sh "brave-origin"; } Mod+Shift+C hotkey-overlay-title="Get current dat and time as noticiation" { spawn-sh "fyi Clock $(date)"; } XF86AudioPlay allow-when-locked=true { spawn-sh "playerctl play-pause"; } XF86AudioStop allow-when-locked=true { spawn-sh "playerctl stop"; } -- cgit v1.3.1