summaryrefslogtreecommitdiff
path: root/common/modules/window_managers/niri
diff options
context:
space:
mode:
authorbeeb5k <beebeeb5k@gmail.com>2026-06-20 02:51:59 +0530
committerbeeb5k <beebeeb5k@gmail.com>2026-06-20 02:51:59 +0530
commit47bc39d25a359c94e9a139be9d453a05694ef341 (patch)
treecd5ad0f5e413056e74feb6a7790b7b510ea5d1c8 /common/modules/window_managers/niri
parentf1d30adc192df38fe8f6cd50cb2eae048789459b (diff)
Font and cursor
Diffstat (limited to 'common/modules/window_managers/niri')
-rw-r--r--common/modules/window_managers/niri/default.nix12
1 files changed, 11 insertions, 1 deletions
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"; }