framework: gruvbox again, fix mouse accel

This commit is contained in:
tristan 2025-07-08 15:51:01 +01:00
parent 823b45d557
commit f6c272f35e
2 changed files with 11 additions and 11 deletions

View file

@ -6,7 +6,8 @@
... ...
}: let }: let
inherit (config.lib.cosmic) mkRON; inherit (config.lib.cosmic) mkRON;
mkAction = variant: action: mkRON "enum" { mkAction = variant: action:
mkRON "enum" {
inherit variant; inherit variant;
value = [ value = [
(mkRON "enum" action) (mkRON "enum" action)
@ -34,8 +35,8 @@ in {
compositor = { compositor = {
autotile = true; autotile = true;
focus_follows_cursor = true; focus_follows_cursor = true;
input_default = mkRON "optional" { input_default.acceleration = mkRON "optional" {
profile = (mkRON "optional" (mkRON "enum" "Flat")); profile = mkRON "optional" (mkRON "enum" "Flat");
speed = 0.0; speed = 0.0;
}; };
}; };
@ -49,7 +50,7 @@ in {
sampling_method = mkRON "enum" "Alphanumeric"; sampling_method = mkRON "enum" "Alphanumeric";
scaling_mode = mkRON "enum" "Zoom"; scaling_mode = mkRON "enum" "Zoom";
source = mkRON "enum" { source = mkRON "enum" {
value = [ (toString config.stylix.image) ]; value = [(toString config.stylix.image)];
variant = "Path"; variant = "Path";
}; };
} }
@ -89,7 +90,5 @@ in {
size = mkRON "enum" "XS"; size = mkRON "enum" "XS";
} }
]; ];
}; };
} }

View file

@ -34,6 +34,7 @@
stylix = { stylix = {
enable = true; enable = true;
image = "${pkgs.cosmic-wallpapers}/share/backgrounds/cosmic/orion_nebula_nasa_heic0601a.jpg"; image = "${pkgs.cosmic-wallpapers}/share/backgrounds/cosmic/orion_nebula_nasa_heic0601a.jpg";
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
polarity = "dark"; polarity = "dark";
opacity = { opacity = {
terminal = 0.9; terminal = 0.9;