Update everything for latest nixpkgs

This commit is contained in:
Elnu 2025-06-17 16:42:55 -07:00
parent fba64b7555
commit 96739c5979
4 changed files with 12 additions and 11 deletions

View file

@ -21,11 +21,14 @@ in
}; };
home.file = { home.file = {
"${themeFolder}theme.conf".source = with colors; pkgs.substituteAll ({ "${themeFolder}theme.conf".source = with colors; pkgs.replaceVarsWith ({
src = ./theme.conf; src = ./theme.conf;
background = "${bg1}80"; replacements = {
highlight = bg0; background = "${bg1}80";
} // colors); highlight = bg0;
inherit fg0 fg1;
};
});
"${themeFolder}arrow.png".source = ./arrow.png; "${themeFolder}arrow.png".source = ./arrow.png;
"${themeFolder}radio.png".source = ./radio.png; "${themeFolder}radio.png".source = ./radio.png;
".config/fcitx5/conf/classicui.conf".text = "Theme=${theme}"; ".config/fcitx5/conf/classicui.conf".text = "Theme=${theme}";

View file

@ -108,10 +108,7 @@ in with theme.colors; {
"${mod}+Return" = "exec kitty"; "${mod}+Return" = "exec kitty";
"${mod}+Shift+e" = "exec i3-msg exit"; # bypass default session exit confirmation menu "${mod}+Shift+e" = "exec i3-msg exit"; # bypass default session exit confirmation menu
"${mod}+space" = "exec i3-msg open"; # Open blank space "${mod}+space" = "exec i3-msg open"; # Open blank space
"Mod1+Q" = let rofi-power = pkgs.substituteAll { "Mod1+Q" = "exec ${./power.sh}";
src = ./power.sh;
isExecutable = true;
}; in "exec ${rofi-power}";
"${mod}+a" = "exec com.github.alainm23.task-planner.quick-add"; "${mod}+a" = "exec com.github.alainm23.task-planner.quick-add";
# Audio controls # Audio controls

View file

@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "93MP1Iw1eklC+IEQXAhzLHJ+qsDASm53qw7vUEtEstI="; sha256 = "93MP1Iw1eklC+IEQXAhzLHJ+qsDASm53qw7vUEtEstI=";
}; };
cargoHash = "sha256-aBuaXckalcBcfr/snUy+8W9ZITehoeMCsGt/4yb2BxA="; cargoHash = "sha256-z0pLuWcfmFkV3xg+1XKmg/Zwvb3Ce8RpERCh1OjD+so=";
meta = with lib; { meta = with lib; {
description = "A simple CLI for fetching Plume Labs air quality info."; description = "A simple CLI for fetching Plume Labs air quality info.";

View file

@ -8,7 +8,8 @@ in {
enable = true; enable = true;
inherit theme; inherit theme;
}; };
home.file.".config/rofi/${theme}.rasi".source = pkgs.substituteAll ({ home.file.".config/rofi/${theme}.rasi".source = pkgs.replaceVarsWith ({
src = ./theme.rasi; src = ./theme.rasi;
} // _theme.colors); replacements = with _theme.colors; { inherit fg0 fg1 bg0 bg1 primary; };
});
} }