mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-31 01:48:52 -08:00
feat!: applyGtkFix -> gtkUseOpenGL, off by default
Some checks are pending
Check flake / check (push) Waiting to run
Some checks are pending
Check flake / check (push) Waiting to run
This commit is contained in:
parent
c53e45ec51
commit
79e0f0cd27
1 changed files with 4 additions and 4 deletions
|
@ -31,9 +31,9 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
useAdvancedBindings = lib.mkEnableOption "advanced keybinds";
|
useAdvancedBindings = lib.mkEnableOption "advanced keybinds";
|
||||||
applyGtkFix = lib.mkOption {
|
gtkUseOpenGL = lib.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = cfg.enable;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to set GSK_RENDERER environment variable to stop GTK apps from crashing.
|
Whether to set GSK_RENDERER environment variable to stop GTK apps from crashing.
|
||||||
'';
|
'';
|
||||||
|
@ -93,8 +93,8 @@ in
|
||||||
"$Up" = "K";
|
"$Up" = "K";
|
||||||
"$Down" = "J";
|
"$Down" = "J";
|
||||||
env =
|
env =
|
||||||
(lib.optionals cfg.applyGtkFix [
|
(lib.optionals cfg.gtkUseOpenGL [
|
||||||
"GSK_RENDERER,gl"
|
"GSK_RENDERER,ngl"
|
||||||
])
|
])
|
||||||
++ (lib.optionals (config.liminalOS.formFactor == "laptop" && !osConfig.liminalOS.theming.enable) [
|
++ (lib.optionals (config.liminalOS.formFactor == "laptop" && !osConfig.liminalOS.theming.enable) [
|
||||||
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
|
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
|
||||||
|
|
Loading…
Reference in a new issue