minor fixes

This commit is contained in:
cnst
2024-09-30 20:25:08 +02:00
parent 1d334bada1
commit af32037f5d
3 changed files with 11 additions and 14 deletions

View File

@@ -1,12 +1,11 @@
{ lib
, config
, ...
}:
let
{
lib,
config,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.modules.wm.hyprland.toothpick.inputs;
in
{
in {
options = {
modules.wm.hyprland.toothpick.inputs.enable = mkEnableOption "Enables input settings in Hyprland";
};
@@ -20,6 +19,9 @@ in
];
input = {
kb_layout = "se";
kb_variant = "nodeadkeys";
follow_mouse = 1;
accel_profile = "flat";
sensitivity = 0; # -1.0 - 1.0, 0 means no modification.
@@ -31,13 +33,6 @@ in
scroll_factor = 0.5;
};
};
# Desktop keyboard
device = [
{
name = "usb-hid-keyboard";
kb_layout = "se";
}
];
gestures = {
workspace_swipe = true;
workspace_swipe_distance = 400;