Hyprland: prefer bluetooth keyboard

This commit is contained in:
Filippo Berto 2024-04-14 18:01:52 +02:00
parent 69b77af215
commit ec6ef6b771
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
2 changed files with 64 additions and 0 deletions

View file

@ -9,6 +9,7 @@
./swayidle.nix
./swaynotificationcenter.nix
./wl_update_background.nix
./hyprland-bluetooth-keyboard.nix
];
home.packages = builtins.attrValues { inherit (pkgs) blueman brillo gamescope grimblast networkmanagerapplet wireplumber playerctl swaylock swww way-lockscreen waybar wl-clipboard wl-clipedit wlogout wofi wofi-emoji wtype xdg-desktop-portal-gtk; };
@ -81,6 +82,12 @@
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
$LAPTOP_KEYBOARD_ENABLED = true
device {
name = at-translated-set-2-keyboard
enabled = $LAPTOP_KEYBOARD_ENABLED
}
device {
name=keychron-k1-max-keyboard
kb_layout=us