refactor: major theme refactor
new profile catagory: theme. refactor modules for wallpaper, fonts, gtk, and qt. adjusted modules that depend on old theming modules
This commit is contained in:
parent
7d910ba77c
commit
f5e87f2a79
34 changed files with 217 additions and 118 deletions
|
|
@ -9,5 +9,6 @@
|
|||
./misc.nix
|
||||
./monitor.nix
|
||||
./gestures.nix
|
||||
./hyprpaper.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,13 +9,10 @@ in
|
|||
wayland.windowManager.hyprland.settings = {
|
||||
exec = [
|
||||
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
||||
"${pkgs.swaybg}/bin/swaybg -i ${config.wallpaper} --mode fill"
|
||||
];
|
||||
exec-once = [
|
||||
"${pkgs._1password-gui}/bin/1password --silent"
|
||||
"${pkgs.live-buds-cli}/bin/earbuds -d"
|
||||
"eww daemon && eww open bar"
|
||||
"systemctl --user start clight"
|
||||
"waybar"
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
{ lib, config, inputs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.homeModules.desktop.wayland.windowManager.hyprland;
|
||||
wallpaperPath = config.homeModules.theme.wallpaper.path;
|
||||
in
|
||||
|
||||
{
|
||||
imports = [ inputs.hyprpaper.homeManagerModules.hyprpaper ];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
preloads = ["${wallpaperPath}"];
|
||||
wallpapers = [", ${wallpaperPath}"];
|
||||
ipc = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue