refactor(aichat): disable mayichat and rename config to aichat
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
refactor(hyprland): separate hyprpaper config into its own module feat(services): add hyprpaper service with updated wallpaper settings
This commit is contained in:
@@ -3,13 +3,14 @@
|
||||
./swaync.nix
|
||||
./swayosd.nix
|
||||
./kdeconnect.nix
|
||||
./hyprland.nix
|
||||
./gtk.nix
|
||||
./anyrun.nix
|
||||
./ironbar
|
||||
./gui.nix
|
||||
./eww.nix
|
||||
./hyprmon.nix
|
||||
./xdg.nix
|
||||
./hyprmon.nix
|
||||
./hyprland.nix
|
||||
./hyprpaper.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,15 +1,10 @@
|
||||
{
|
||||
pkgs,
|
||||
device,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
# lib.optionalAttrs device.isNix
|
||||
{
|
||||
imports = [
|
||||
../../modules/hyprpaper.nix
|
||||
];
|
||||
|
||||
# services.hyprpolkitagent.enable = true;
|
||||
services.hypridle = {
|
||||
enable = device.is "ryu";
|
||||
@@ -29,20 +24,6 @@
|
||||
services.hyprsunset = {
|
||||
enable = device.is "ryu";
|
||||
};
|
||||
programs.hyprpaper = let
|
||||
wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;};
|
||||
in {
|
||||
enable = device.is "ryu";
|
||||
# enable = true;
|
||||
systemd.enable = true;
|
||||
systemd.target = "hyprland-session.target";
|
||||
settings.preload = wallpapers.all;
|
||||
settings.wallpapers = {
|
||||
"${device.monitors.primary}" = wallpapers.hornet;
|
||||
"${device.monitors.secondary}" = wallpapers.frieren_3;
|
||||
"${device.monitors.tertiary}" = wallpapers.shapes;
|
||||
};
|
||||
};
|
||||
programs.hyprlock = {
|
||||
enable = device.is "ryu";
|
||||
};
|
||||
|
||||
30
home/services/hyprpaper.nix
Normal file
30
home/services/hyprpaper.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
pkgs,
|
||||
device,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../modules/hyprpaper.nix
|
||||
];
|
||||
programs.hyprpaper = let
|
||||
wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;};
|
||||
nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name;
|
||||
silksongFleas = nextcloudWallpapers "silksong-fleas.jpg";
|
||||
in {
|
||||
enable = device.is "ryu";
|
||||
# enable = true;
|
||||
systemd.enable = true;
|
||||
systemd.target = "hyprland-session.target";
|
||||
settings.preload =
|
||||
wallpapers.all
|
||||
++ [
|
||||
silksongFleas
|
||||
];
|
||||
settings.wallpapers = {
|
||||
"${device.monitors.primary}" = silksongFleas;
|
||||
"${device.monitors.secondary}" = wallpapers.frieren_3;
|
||||
"${device.monitors.tertiary}" = wallpapers.hornet;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user