feat: hyprland swipe gestures

This commit is contained in:
DACHXY 2025-01-16 16:06:05 +08:00
parent 2feae7c8d9
commit 26e0aed70e
3 changed files with 10 additions and 2 deletions

View file

@ -55,7 +55,7 @@
"(.*) - Visual Studio Code": " $1",
"\\(\\d+\\) Discord (.*)": " $1",
"(.*) - YouTube — Mozilla Firefox": " $1",
"(.*)\\.pdf": " $1",
"(.*)\\.pdf — Mozilla Firefox": " $1",
"(.*) — Mozilla Firefox": " $1",
"(.*) - VLC media player": " $1",
"(.*) - YouTube Music — Mozilla Firefox": "󰎆 $1"

View file

@ -19,4 +19,9 @@
cursor = {
no_hardware_cursors = true;
};
gestures = {
workspace_swipe = true;
workspace_swipe_fingers = 3;
};
}

View file

@ -23,7 +23,10 @@ let
offload = import ./offload.nix { inherit pkgs; };
in
lib.checkListOfEnum "Nvidia Prime Mode" validModes [ nvidia-mode ] {
environment.systemPackages = [ offload ];
environment.systemPackages = [
offload
pkgs.nvtopPackages.nvidia
];
# Enable nvidia on wayland or xserver
services.xserver.videoDrivers = [ "nvidia" ];