added wpaperd and started on otter
53
modules/features/hypr/default.nix
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
self,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
flake.nixosModules.hypr = {
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.hypr = {
|
||||
enable = true;
|
||||
package = self.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
};
|
||||
};
|
||||
perSystem = {
|
||||
pkgs,
|
||||
lib,
|
||||
self',
|
||||
...
|
||||
}: {
|
||||
packages = {
|
||||
hyprland = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
wpaperd = let
|
||||
config-file = builtins.toFile "config.toml" ''
|
||||
[any]
|
||||
path = "${./wallpapers}"
|
||||
|
||||
[HDMI-A-1]
|
||||
path = "${./wallpapers/topo1.png}"
|
||||
|
||||
[DP-1]
|
||||
path = "${./wallpapers/topo2.png}"
|
||||
|
||||
[DP-2]
|
||||
path = "${./wallpapers/topo3.png}"
|
||||
'';
|
||||
in
|
||||
inputs.wrappers.lib.wrapPackage ({
|
||||
config,
|
||||
wlib,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
inherit pkgs;
|
||||
package = pkgs.wpaperd;
|
||||
flags = {
|
||||
"--config" = config-file;
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
BIN
modules/features/hypr/wallpapers/aesthetic.jpg
Normal file
|
After Width: | Height: | Size: 227 KiB |
BIN
modules/features/hypr/wallpapers/bars.jpg
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
modules/features/hypr/wallpapers/black-hole.png
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
modules/features/hypr/wallpapers/city-horizon.jpg
Normal file
|
After Width: | Height: | Size: 250 KiB |
BIN
modules/features/hypr/wallpapers/dragon.jpg
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
modules/features/hypr/wallpapers/flower-field.jpg
Normal file
|
After Width: | Height: | Size: 653 KiB |
BIN
modules/features/hypr/wallpapers/ocean.png
Normal file
|
After Width: | Height: | Size: 6.9 MiB |
BIN
modules/features/hypr/wallpapers/pink-clouds.jpg
Normal file
|
After Width: | Height: | Size: 406 KiB |
BIN
modules/features/hypr/wallpapers/sakura-trees-over-river.jpg
Normal file
|
After Width: | Height: | Size: 551 KiB |
BIN
modules/features/hypr/wallpapers/sousou-no-frieren-flowers.png
Normal file
|
After Width: | Height: | Size: 8.7 MiB |
BIN
modules/features/hypr/wallpapers/sunset.jpg
Normal file
|
After Width: | Height: | Size: 310 KiB |
BIN
modules/features/hypr/wallpapers/topo1.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
modules/features/hypr/wallpapers/topo2.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
modules/features/hypr/wallpapers/topo3.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
modules/features/hypr/wallpapers/tree.jpg
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
modules/features/hypr/wallpapers/unused/wide_lines.png.unused
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
modules/features/hypr/wallpapers/unused/wide_lines2.png.unused
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
modules/features/hypr/wallpapers/voyager-8.jpg
Normal file
|
After Width: | Height: | Size: 286 KiB |
BIN
modules/features/hypr/wallpapers/wallpaper-sun.jpg
Executable file
|
After Width: | Height: | Size: 592 KiB |
BIN
modules/features/hypr/wallpapers/waves.png
Normal file
|
After Width: | Height: | Size: 194 KiB |