mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Use higher mouse accel speed
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
gnome-control-center
|
||||
gnome-weather
|
||||
wdisplays
|
||||
niri
|
||||
];
|
||||
|
||||
xdg.configFile."niri/config.kdl".source = ./niri.kdl;
|
||||
|
||||
@@ -15,6 +15,10 @@ input {
|
||||
scroll-method "two-finger"
|
||||
}
|
||||
|
||||
mouse {
|
||||
accel-speed 0.5
|
||||
}
|
||||
|
||||
disable-power-key-handling
|
||||
warp-mouse-to-focus
|
||||
focus-follows-mouse max-scroll-amount="0%"
|
||||
@@ -180,5 +184,5 @@ binds {
|
||||
|
||||
spawn-at-startup "wallpaper"
|
||||
spawn-at-startup "ags"
|
||||
spawn-at-startup "uwsm" "finalize" "DISPLAY" "WAYLAND_DISPLAY" "XDG_CURRENT_DESKTOP" "NIXOS_OZONE_WL" "XCURSOR_THEME" "XCURSOR_SIZE"
|
||||
spawn-at-startup "uwsm" "finalize" "DISPLAY" "WAYLAND_DISPLAY" "XDG_CURRENT_DESKTOP" "NIXOS_OZONE_WL" "XCURSOR_THEME" "XCURSOR_SIZE" "NIRI_SOCKET"
|
||||
spawn-at-startup "hyprlock" "--immediate"
|
||||
|
||||
+2
-1
@@ -1,4 +1,4 @@
|
||||
{pkgs, ...}: let
|
||||
{pkgs, lib, ...}: let
|
||||
wallpaper = pkgs.writeShellScriptBin "wallpaper" ''
|
||||
WALLPAPERS=~/wallpapers/
|
||||
|
||||
@@ -48,6 +48,7 @@ in {
|
||||
|
||||
services.darkman = let
|
||||
genTheme = theme: {
|
||||
"0-transition" = "${lib.getExe pkgs.niri} msg action do-screen-transition";
|
||||
color-scheme = "${pkgs.glib}/bin/gsettings set org.gnome.desktop.interface color-scheme prefer-${theme}";
|
||||
gtk3 = let
|
||||
suffix =
|
||||
|
||||
Reference in New Issue
Block a user