turned trackpad blocker while using keyboard off

This commit is contained in:
Gabriella Bere 2025-04-16 20:30:43 +01:00
parent 0b65968297
commit 501ff802ca
2 changed files with 12 additions and 8 deletions

View file

@ -1,5 +1,8 @@
{ config, pkgs, ... }:
{
config,
pkgs,
...
}: {
# Enable Hyprland compositor
wayland.windowManager.hyprland = {
enable = true;
@ -22,15 +25,15 @@
kb_layout = "gb";
follow_mouse = 1;
mouse_refocus = false;
# touchpad = {
# disable_while_typing = false;
# };
touchpad = {
disable_while_typing = false;
};
};
# bindl = [
# ",switch:off:Lid Switch,exec,hyprctl keyword monitor eDP-2, 2560x1600@165, 0x0, auto"
# ",switch:on:Lid Switch,exec,hyprctl keyword monitor eDP-2, disable"
# ];
# bindl = [
# ",switch:off:Lid Switch,exec,hyprctl keyword monitor eDP-2, 2560x1600@165, 0x0, auto"
# ",switch:on:Lid Switch,exec,hyprctl keyword monitor eDP-2, disable"
# ];
# Allow using SUPER+LEFT to move windows and SUPER+RIGHT to resize windows
bindm = [

View file

@ -98,6 +98,7 @@
# Enable sound with pipewire.
security.rtkit.enable = true;
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true;
alsa.enable = true;