Fix call to hyprland config function

This commit is contained in:
Evie Litherland-Smith 2023-09-07 09:26:16 +01:00
parent 3fad0bead7
commit ec95c63f42
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, anyrun, catppuccin-themes, ... }: { config, pkgs, anyrun, theme, ... }:
let let
anyrunPackage = anyrun.packages.${pkgs.system}.anyrun; anyrunPackage = anyrun.packages.${pkgs.system}.anyrun;
emacsPackage = pkgs.emacs29-pgtk; emacsPackage = pkgs.emacs29-pgtk;
@ -6,7 +6,7 @@ let
rofiPackage = pkgs.rofi-wayland; rofiPackage = pkgs.rofi-wayland;
swaylockPackage = pkgs.swaylock-effects; swaylockPackage = pkgs.swaylock-effects;
in '' in ''
source = ${catppuccin-themes.hyprland} source = ${theme}
source = ./extra.conf source = ./extra.conf
monitor=,preferred,auto,auto monitor=,preferred,auto,auto

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, hyprland, anyrun, wallpapers, ... }: { config, lib, pkgs, hyprland, anyrun, wallpapers, catppuccin-themes, ... }:
let let
configure-gtk = pkgs.writeTextFile { configure-gtk = pkgs.writeTextFile {
name = "configure-gtk"; name = "configure-gtk";
@ -54,8 +54,8 @@ in {
hidpi = true; hidpi = true;
}; };
extraConfig = import ./config.nix { extraConfig = import ./config.nix {
pkgs = pkgs; inherit config pkgs anyrun;
anyrun = anyrun; theme = catppuccin-themes.hyprland;
}; };
}; };
xdg.configFile = { xdg.configFile = {