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
anyrunPackage = anyrun.packages.${pkgs.system}.anyrun;
emacsPackage = pkgs.emacs29-pgtk;
@ -6,7 +6,7 @@ let
rofiPackage = pkgs.rofi-wayland;
swaylockPackage = pkgs.swaylock-effects;
in ''
source = ${catppuccin-themes.hyprland}
source = ${theme}
source = ./extra.conf
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
configure-gtk = pkgs.writeTextFile {
name = "configure-gtk";
@ -54,8 +54,8 @@ in {
hidpi = true;
};
extraConfig = import ./config.nix {
pkgs = pkgs;
anyrun = anyrun;
inherit config pkgs anyrun;
theme = catppuccin-themes.hyprland;
};
};
xdg.configFile = {