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";
|
||||
applyGtkFix = lib.mkOption {
|
||||
gtkUseOpenGL = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = cfg.enable;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to set GSK_RENDERER environment variable to stop GTK apps from crashing.
|
||||
'';
|
||||
|
@ -93,8 +93,8 @@ in
|
|||
"$Up" = "K";
|
||||
"$Down" = "J";
|
||||
env =
|
||||
(lib.optionals cfg.applyGtkFix [
|
||||
"GSK_RENDERER,gl"
|
||||
(lib.optionals cfg.gtkUseOpenGL [
|
||||
"GSK_RENDERER,ngl"
|
||||
])
|
||||
++ (lib.optionals (config.liminalOS.formFactor == "laptop" && !osConfig.liminalOS.theming.enable) [
|
||||
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
|
||||
|
|
Loading…
Reference in a new issue