mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
fix caelestia scheme change
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -52,6 +52,7 @@
|
|||||||
wayland.windowManager.hyprland.settings.exec-once = [
|
wayland.windowManager.hyprland.settings.exec-once = [
|
||||||
"uwsm app -- caelestia resizer -d"
|
"uwsm app -- caelestia resizer -d"
|
||||||
"uwsm app -- caelestia shell -d"
|
"uwsm app -- caelestia shell -d"
|
||||||
|
"caelestia scheme set -n onedark"
|
||||||
"caelestia scheme set -n custom"
|
"caelestia scheme set -n custom"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -120,7 +120,10 @@
|
|||||||
onSuccessContainer ${colors.base05}
|
onSuccessContainer ${colors.base05}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
colorsHash = builtins.hashString "sha256" (builtins.toJSON colors);
|
||||||
|
|
||||||
customCli = inputs.caelestia-cli.packages.${pkgs.stdenv.hostPlatform.system}.default.overrideAttrs (oldAttrs: {
|
customCli = inputs.caelestia-cli.packages.${pkgs.stdenv.hostPlatform.system}.default.overrideAttrs (oldAttrs: {
|
||||||
|
name = "${oldAttrs.name or "caelestia-cli"}-themed-${colorsHash}";
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
mkdir -p $sourceRoot/src/caelestia/data/schemes/custom/main
|
mkdir -p $sourceRoot/src/caelestia/data/schemes/custom/main
|
||||||
cp ${customSchemeFile} $sourceRoot/src/caelestia/data/schemes/custom/main/dark.txt
|
cp ${customSchemeFile} $sourceRoot/src/caelestia/data/schemes/custom/main/dark.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user