feat: hyprland swipe gestures
This commit is contained in:
parent
2feae7c8d9
commit
26e0aed70e
3 changed files with 10 additions and 2 deletions
|
|
@ -55,7 +55,7 @@
|
||||||
"(.*) - Visual Studio Code": " $1",
|
"(.*) - Visual Studio Code": " $1",
|
||||||
"\\(\\d+\\) Discord (.*)": " $1",
|
"\\(\\d+\\) Discord (.*)": " $1",
|
||||||
"(.*) - YouTube — Mozilla Firefox": " $1",
|
"(.*) - YouTube — Mozilla Firefox": " $1",
|
||||||
" (.*)\\.pdf": " $1",
|
"(.*)\\.pdf — Mozilla Firefox": " $1",
|
||||||
"(.*) — Mozilla Firefox": " $1",
|
"(.*) — Mozilla Firefox": " $1",
|
||||||
"(.*) - VLC media player": " $1",
|
"(.*) - VLC media player": " $1",
|
||||||
"(.*) - YouTube Music — Mozilla Firefox": " $1"
|
"(.*) - YouTube Music — Mozilla Firefox": " $1"
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,9 @@
|
||||||
cursor = {
|
cursor = {
|
||||||
no_hardware_cursors = true;
|
no_hardware_cursors = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gestures = {
|
||||||
|
workspace_swipe = true;
|
||||||
|
workspace_swipe_fingers = 3;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,10 @@ let
|
||||||
offload = import ./offload.nix { inherit pkgs; };
|
offload = import ./offload.nix { inherit pkgs; };
|
||||||
in
|
in
|
||||||
lib.checkListOfEnum "Nvidia Prime Mode" validModes [ nvidia-mode ] {
|
lib.checkListOfEnum "Nvidia Prime Mode" validModes [ nvidia-mode ] {
|
||||||
environment.systemPackages = [ offload ];
|
environment.systemPackages = [
|
||||||
|
offload
|
||||||
|
pkgs.nvtopPackages.nvidia
|
||||||
|
];
|
||||||
|
|
||||||
# Enable nvidia on wayland or xserver
|
# Enable nvidia on wayland or xserver
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue