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

View file

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