Fix android build.
This commit is contained in:
parent
a1f4bae2a6
commit
4b0b8897a3
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
borderSize = toString config.module.style.window.border;
|
||||
dpiAware = if config.module.dpi.aware then "yes" else "no";
|
||||
dpiAware = if (config.module.dpi.aware or false) then "yes" else "no";
|
||||
fontStep = 1;
|
||||
in {
|
||||
file = (pkgs.formats.iniWithGlobalSection { }).generate "FootConfig" {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
config,
|
||||
...
|
||||
}: let
|
||||
dpiAware = if config.module.dpi.aware then "yes" else "no";
|
||||
dpiAware = if (config.module.dpi.aware or false) then "yes" else "no";
|
||||
in {
|
||||
file = (pkgs.formats.ini { }).generate "FuzzelConfig" {
|
||||
main = {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
}: {
|
||||
text = ''
|
||||
require("gen").setup {
|
||||
model = "${config.module.ollama.primaryModel}"
|
||||
model = "${config.module.ollama.primaryModel or ""}"
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
}
|
||||
|
||||
input type:keyboard {
|
||||
xkb_layout ${config.module.keyboard.layouts}
|
||||
xkb_options ${config.module.keyboard.options}
|
||||
xkb_layout ${config.module.keyboard.layouts or ""}
|
||||
xkb_options ${config.module.keyboard.options or ""}
|
||||
}
|
||||
|
||||
# Hide mouse cursor after a period of inactivity.
|
||||
|
|
|
@ -143,8 +143,8 @@ in {
|
|||
temperature = {
|
||||
critical-threshold = 80;
|
||||
format = "{temperatureC}°C";
|
||||
hwmon-path-abs = "${config.module.hwmon.path}";
|
||||
input-filename = "${config.module.hwmon.file}";
|
||||
hwmon-path-abs = "${config.module.hwmon.path or ""}";
|
||||
input-filename = "${config.module.hwmon.file or ""}";
|
||||
interval = refreshInterval;
|
||||
on-click = "foot -e bash -c btop";
|
||||
on-click-right = "powersave toggle";
|
||||
|
|
Loading…
Reference in a new issue