Fix android build.

This commit is contained in:
Dmitry Voronin 2024-11-06 01:10:30 +03:00
parent a1f4bae2a6
commit 4b0b8897a3
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
5 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@
... ...
}: let }: let
borderSize = toString config.module.style.window.border; 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; fontStep = 1;
in { in {
file = (pkgs.formats.iniWithGlobalSection { }).generate "FootConfig" { file = (pkgs.formats.iniWithGlobalSection { }).generate "FootConfig" {

View file

@ -3,7 +3,7 @@
config, config,
... ...
}: let }: let
dpiAware = if config.module.dpi.aware then "yes" else "no"; dpiAware = if (config.module.dpi.aware or false) then "yes" else "no";
in { in {
file = (pkgs.formats.ini { }).generate "FuzzelConfig" { file = (pkgs.formats.ini { }).generate "FuzzelConfig" {
main = { main = {

View file

@ -4,7 +4,7 @@
}: { }: {
text = '' text = ''
require("gen").setup { require("gen").setup {
model = "${config.module.ollama.primaryModel}" model = "${config.module.ollama.primaryModel or ""}"
} }
''; '';
} }

View file

@ -36,8 +36,8 @@
} }
input type:keyboard { input type:keyboard {
xkb_layout ${config.module.keyboard.layouts} xkb_layout ${config.module.keyboard.layouts or ""}
xkb_options ${config.module.keyboard.options} xkb_options ${config.module.keyboard.options or ""}
} }
# Hide mouse cursor after a period of inactivity. # Hide mouse cursor after a period of inactivity.

View file

@ -143,8 +143,8 @@ in {
temperature = { temperature = {
critical-threshold = 80; critical-threshold = 80;
format = "{temperatureC}°C"; format = "{temperatureC}°C";
hwmon-path-abs = "${config.module.hwmon.path}"; hwmon-path-abs = "${config.module.hwmon.path or ""}";
input-filename = "${config.module.hwmon.file}"; input-filename = "${config.module.hwmon.file or ""}";
interval = refreshInterval; interval = refreshInterval;
on-click = "foot -e bash -c btop"; on-click = "foot -e bash -c btop";
on-click-right = "powersave toggle"; on-click-right = "powersave toggle";