Wallpaper: Sky blonde.

This commit is contained in:
Dmitry Voronin 2025-01-01 16:26:28 +03:00
parent fa00208934
commit 710058c645
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
5 changed files with 11 additions and 5 deletions

View file

@ -4,7 +4,7 @@ in {
config = lib.mkMerge [ config = lib.mkMerge [
(lib.mkIf cfg.video { (lib.mkIf cfg.video {
environment.systemPackages = [ environment.systemPackages = [
(pkgs.writeShellScriptBin "mpvpaper-sway" '' (pkgs.writeShellScriptBin "wallpaper-video" ''
mpvpaper -o 'no-audio --loop-file --panscan=1' '*' ${cfg.videoPath} mpvpaper -o 'no-audio --loop-file --panscan=1' '*' ${cfg.videoPath}
'') '')
]; ];

View file

@ -246,6 +246,6 @@ in
include /etc/sway/config.d/* include /etc/sway/config.d/*
'' ''
+ builtins.readFile swayRc + builtins.readFile swayRc
+ lib.optionalString config.module.wallpaper.video "exec mpvpaper-sway\n" + lib.optionalString config.module.wallpaper.video "exec wallpaper-video\n"
+ lib.concatStringsSep "\n" config.module.sway.extraConfig; + lib.concatStringsSep "\n" config.module.sway.extraConfig;
} }

View file

@ -8,8 +8,8 @@
let let
cfg = config.module.wallpaper; cfg = config.module.wallpaper;
url = "https://preview.redd.it/d8oy5ye2vqyd1.gif?width=640&format=mp4&s=a00152d10d85859a688b8b4b12b9cf097f1cdb9b"; url = "https://www.desktophut.com/files/Ob4WzyO9kcDtKft_Above%20the%20clouds_1_155846.mp4";
sha256 = "sha256-k1wS1v/dcXihJA9vk9LXALodAWaQgQxkqfLZY7yugmA="; sha256 = "sha256-3ginS0XeRl2qVOGPrxlJwWx8FnxuVGQRgo4Ha6+KbqM=";
# Use video. # Use video.
video = true; video = true;

View file

@ -33,6 +33,12 @@ let
(mkLink "Toolbox" "fa-toolbox" "https://it-tools.tech") (mkLink "Toolbox" "fa-toolbox" "https://it-tools.tech")
(mkLink "Zigbee" "fa-satellite-dish" "https://zigbee.blakadder.com") (mkLink "Zigbee" "fa-satellite-dish" "https://zigbee.blakadder.com")
]) ])
(mkGroup "Wallpaper" "fa-panorama" [
(mkLink "DesktopHut" "fa-image" "https://www.desktophut.com")
(mkLink "Motion Backgrounds" "fa-image" "https://motionbgs.com")
(mkLink "Unsplash" "fa-image" "https://unsplash.com")
(mkLink "Wallhaven" "fa-image" "https://wallhaven.cc/")
])
(mkGroup "Pirate" "fa-skull-crossbones" [ (mkGroup "Pirate" "fa-skull-crossbones" [
(mkLink "1337x" "fa-skull-crossbones" "https://1337x.to") (mkLink "1337x" "fa-skull-crossbones" "https://1337x.to")
(mkLink "Cs.rin.ru" "fa-skull-crossbones" "https://cs.rin.ru/forum/index.php") (mkLink "Cs.rin.ru" "fa-skull-crossbones" "https://cs.rin.ru/forum/index.php")

View file

@ -5,7 +5,7 @@ function reload() {
# Sway. # Sway.
swaymsg reload swaymsg reload
pkill mpvpaper pkill mpvpaper
mpvpaper-sway wallpaper-video
# Waybar. # Waybar.
pkill waybar pkill waybar