update wallpapers

This commit is contained in:
jacekpoz 2024-04-30 11:57:45 +02:00
parent d9adf63735
commit 7b61252f9a
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
6 changed files with 30 additions and 5 deletions

View file

@ -1,5 +1,6 @@
{
config,
inputs,
lib,
pkgs,
...
@ -238,10 +239,29 @@
hypr = {
land = {
enable = true;
extraSettings = {
extraSettings = let
inherit (config.myOptions.other.system) username;
hmCfg = config.home-manager.users.${username};
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system}) swww;
nix_wallpaper = pkgs.fetchurl {
url = "https://i.ibb.co/vZ5JF95/nix-Wallpaper.png";
hash = "sha256-BqOBvRFXFrX/QLI70OLAIcpbbiUH/jUMK97yqCfY+mI=";
};
poz_layer = ./poz.png;
out_dir = "${hmCfg.xdg.dataHome}/hypr";
out_path = "${out_dir}/nix.png";
in {
exec-once = [
"${pkgs.rot8}/bin/rot8 --threshold 0.75"
"${pkgs.wvkbd}/bin/wvkbd-mobintl --hidden -L 500"
"${pkgs.coreutils-full}/bin/mkdir -p ${out_dir}"
"${pkgs.imagemagick}/bin/magick ${nix_wallpaper} ${poz_layer} -layers flatten ${out_path}"
];
exec = [
# wait a bit then set the wallpapers
"sleep 0.5 && ${swww}/bin/swww img -o eDP-1 ${out_path}"
];
};
};

BIN
hosts/del/poz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

View file

Before

Width:  |  Height:  |  Size: 7.6 MiB

After

Width:  |  Height:  |  Size: 7.6 MiB

View file

Before

Width:  |  Height:  |  Size: 7.7 MiB

After

Width:  |  Height:  |  Size: 7.7 MiB

View file

@ -175,6 +175,15 @@
extraPlugins = [
inputs.split-monitor-workspaces.packages.${pkgs.system}.split-monitor-workspaces
];
extraSettings = {
exec = let
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system}) swww;
in [
# wait a bit then set the wallpapers
"sleep 0.5 && ${swww}/bin/swww img -o eDP-1 ${./catppuccin-wall0.png}"
"sleep 0.5 && ${swww}/bin/swww img -o HDMI-A-1 ${./catppuccin-wall1.png}"
];
};
};
lock.enable = true;
};

View file

@ -477,10 +477,6 @@ in {
"[workspace special:pipewire silent;tile] ${pkgs.helvum}/bin/helvum"
"[workspace special:pipewire silent;tile] ${pkgs.pavucontrol}/bin/pavucontrol"
# wait a bit then set the wallpapers
"sleep 0.5 && ${swww}/bin/swww img -o eDP-1 ${./catppuccin-wall0.png}"
"sleep 0.5 && ${swww}/bin/swww img -o HDMI-A-1 ${./catppuccin-wall1.png}"
"${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"
"${pkgs.blueman}/bin/blueman-applet"
] ++ cfg.extraSettings.exec;