Compare commits

...

2 commits

4 changed files with 19 additions and 12 deletions

View file

@ -7,8 +7,6 @@ help:
android: android:
nix-on-droid switch --flake $(flake) nix-on-droid switch --flake $(flake)
cp ~/.termux/_font.ttf ~/.termux/font.ttf
cp ~/.termux/_colors.properties ~/.termux/colors.properties
cp ~/.Wallpaper /sdcard/Download/Wallpaper.jpg cp ~/.Wallpaper /sdcard/Download/Wallpaper.jpg
cp ~/.Wallpaper /sdcard/Download/Wallpaper.png cp ~/.Wallpaper /sdcard/Download/Wallpaper.png

View file

@ -27,17 +27,19 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
time.timeZone = const.timeZone;
environment.packages = package.core; environment.packages = package.core;
time.timeZone = const.timeZone;
terminal = {
inherit (android) font colors;
};
home-manager.config = stylix // { home-manager.config = stylix // {
imports = [ inputs.stylix.homeManagerModules.stylix ]; imports = [ inputs.stylix.homeManagerModules.stylix ];
home = { home = {
stateVersion = const.droidStateVersion; file = import ./config args;
sessionVariables = import ./variable args; sessionVariables = import ./variable args;
file = (import ./config args) // { stateVersion = const.droidStateVersion;
".termux/_font.ttf".source = android.font;
".termux/_colors.properties".text = android.colors;
};
}; };
programs = import ./program args; programs = import ./program args;
}; };

View file

@ -6,8 +6,9 @@
}/share/fonts/truetype/NerdFonts/TerminessNerdFontMono-Regular.ttf $out }/share/fonts/truetype/NerdFonts/TerminessNerdFontMono-Regular.ttf $out
''; '';
colors = '' colors = with config.style.color; {
background=#${config.style.color.bg.dark} background = "#${bg.dark}";
foreground=#${config.style.color.fg.light} cursor = "#${fg.light}";
''; foreground = "#${fg.light}";
};
} }

View file

@ -45,5 +45,11 @@
move scratchpad move scratchpad
scratchpad show scratchpad show
} }
# JamesDsp.
for_window [title="JamesDSP for Linux"] {
move scratchpad
scratchpad show
}
''; '';
} }