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 = {
"${themeFolder}theme.conf".source = with colors; pkgs.substituteAll ({
"${themeFolder}theme.conf".source = with colors; pkgs.replaceVarsWith ({
src = ./theme.conf;
replacements = {
background = "${bg1}80";
highlight = bg0;
} // colors);
inherit fg0 fg1;
};
});
"${themeFolder}arrow.png".source = ./arrow.png;
"${themeFolder}radio.png".source = ./radio.png;
".config/fcitx5/conf/classicui.conf".text = "Theme=${theme}";

View file

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

View file

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

View file

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