mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Add natural scroll for touchpad and wpaperd to Hyprland
This commit is contained in:
parent
46d2b282ee
commit
52adf01198
1 changed files with 29 additions and 15 deletions
|
@ -67,6 +67,15 @@
|
||||||
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
|
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
|
||||||
bind = SHIFT, Print, exec, kazam
|
bind = SHIFT, Print, exec, kazam
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
drop_shadow = false
|
||||||
|
rounding = 0
|
||||||
|
|
||||||
|
blur {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
general {
|
general {
|
||||||
gaps_in = 5
|
gaps_in = 5
|
||||||
gaps_out = 10
|
gaps_out = 10
|
||||||
|
@ -78,43 +87,48 @@
|
||||||
col.inactive_border = 0x${theme.transparency}${theme.inactiveHighlight}
|
col.inactive_border = 0x${theme.transparency}${theme.inactiveHighlight}
|
||||||
col.nogroup_border = 0x${theme.transparency}${theme.inactiveHighlight}
|
col.nogroup_border = 0x${theme.transparency}${theme.inactiveHighlight}
|
||||||
|
|
||||||
no_focus_fallback = true
|
|
||||||
no_cursor_warps = true
|
no_cursor_warps = true
|
||||||
|
|
||||||
resize_on_border = true
|
resize_on_border = true
|
||||||
}
|
}
|
||||||
|
|
||||||
decoration {
|
|
||||||
drop_shadow = false
|
|
||||||
rounding = 0
|
|
||||||
|
|
||||||
blur {
|
|
||||||
enabled = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
# The window under the mouse will always be in focus.
|
||||||
|
follow_mouse = 1
|
||||||
|
|
||||||
kb_layout = tr
|
kb_layout = tr
|
||||||
|
|
||||||
repeat_delay = 400
|
repeat_delay = 400
|
||||||
repeat_rate = 60
|
repeat_rate = 60
|
||||||
|
|
||||||
# The window under the mouse will always be in focus.
|
touchpad {
|
||||||
follow_mouse = 1
|
drag_lock = true
|
||||||
|
|
||||||
|
natural_scroll = true
|
||||||
|
scroll_factor = 0.7
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
misc {
|
misc {
|
||||||
|
animate_manual_resizes = true
|
||||||
|
animate_mouse_windowdragging = true
|
||||||
|
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
disable_splash_rendering = true
|
disable_splash_rendering = true
|
||||||
|
|
||||||
key_press_enables_dpms = true
|
key_press_enables_dpms = true
|
||||||
mouse_move_enables_dpms = true
|
mouse_move_enables_dpms = true
|
||||||
|
|
||||||
animate_manual_resizes = true
|
|
||||||
animate_mouse_windowdragging = true
|
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.wpaperd = enabled {
|
||||||
|
settings.default = {
|
||||||
|
duration = "10m";
|
||||||
|
path = "/home/nixos/Pictures/Wallpapers";
|
||||||
|
sorting = "ascending";
|
||||||
|
};
|
||||||
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
(with pkgs; homePackages "nixos" [
|
(with pkgs; homePackages "nixos" [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue