fix: fixes

This commit is contained in:
2024-01-13 21:36:53 +01:00
parent 7b6754cc39
commit ae65e1d2d8
2 changed files with 1 additions and 49 deletions

42
: w
View File

@@ -1,42 +0,0 @@
{
lib,
stdenv,
kernel,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "hid-fanatecff";
version = "0.1.0";
src = fetchFromGitHub {
owner = "gotzl";
repo = "hid-fanatecff";
rev = "ce894fb7bcae486978f8165e9f521e480120f98a";
hash = "sha256-/106K52Zi4/6aWh2EwojRm370poaBHyX3Ke2j52ytdo=";
};
nativeBuildInputs = kernel.moduleBuildDependencies;
makeFlags =
kernel.makeFlags
++ [
"KVERSION=${kernel.modDirVersion}"
"KERNEL_SRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];
installFlags = [
"-C"
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"M=${src}"
"INSTALL_MOD_PATH=${placeholder "out"}"
];
installTargets = ["modules_install"];
meta = with lib; {
description = "Linux kernel driver that aims to add support for FANATEC devices";
homepage = "https://github.com/gotzl/hid-fanatecff";
license = licenses.gpl2Only;
platforms = platforms.linux;
broken = stdenv.isAarch64;
};
}

View File

@@ -56,7 +56,6 @@
monitor = [ monitor = [
"DP-1,highrr,0x0,1,bitdepth,10" "DP-1,highrr,0x0,1,bitdepth,10"
"DP-1,addreserved,250,0,0,0" "DP-1,addreserved,250,0,0,0"
"DP-3,highrr,3840x400,1,bitdepth,10"
]; ];
workspace = [ workspace = [
"special:calc,border:false,gapsout:200,on-created-empty:[noanim;silent] kitty -e qalc" "special:calc,border:false,gapsout:200,on-created-empty:[noanim;silent] kitty -e qalc"
@@ -76,11 +75,6 @@
"fakefullscreen,${firefoxPipInitial}" "fakefullscreen,${firefoxPipInitial}"
"move 22 72,${firefoxPip}" "move 22 72,${firefoxPip}"
"move 22 72,${firefoxPipInitial}" "move 22 72,${firefoxPipInitial}"
# Games
## AC2
"monitor DP-3,class:^(steam_app_805550)$"
"fullscreen,class:^(steam_app_805550)$"
"immediate,class:^(steam_app_805550)$"
# IntelliJ focus fixes # IntelliJ focus fixes
"windowdance,class:^(jetbrains-.*)$" "windowdance,class:^(jetbrains-.*)$"
"dimaround,class:^(jetbrains-.*)$,floating:1,title:^(?!win)" "dimaround,class:^(jetbrains-.*)$,floating:1,title:^(?!win)"
@@ -94,6 +88,7 @@
"rounding 10,class:^(gcr-prompter)$" "rounding 10,class:^(gcr-prompter)$"
"animation slide,class:^(gcr-prompter)$" "animation slide,class:^(gcr-prompter)$"
]; ];
xwayland.force_zero_scaling = true;
misc = { misc = {
layers_hog_keyboard_focus = false; layers_hog_keyboard_focus = false;
disable_splash_rendering = true; disable_splash_rendering = true;
@@ -119,7 +114,6 @@
brightness = 0.8; brightness = 0.8;
}; };
}; };
animations = { animations = {
enabled = "yes"; enabled = "yes";
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05"; bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";