(home/wayland) flakify the wallpaper

This commit is contained in:
Laureηt 2023-12-30 20:14:31 +01:00
parent 5d5332df02
commit 7bc32c7ea0
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
2 changed files with 13 additions and 2 deletions

View file

@ -29,6 +29,13 @@
nixos-anywhere.url = "github:nix-community/nixos-anywhere"; nixos-anywhere.url = "github:nix-community/nixos-anywhere";
treefmt-nix.url = "github:numtide/treefmt-nix"; treefmt-nix.url = "github:numtide/treefmt-nix";
# home assets
wallpaper = {
url = "https://images.unsplash.com/photo-1482686115713-0fbcaced6e28";
flake = false;
};
# hydrogen nginx sites
resume.url = "git+https://git.fainsin.bzh/Laurent/resume"; resume.url = "git+https://git.fainsin.bzh/Laurent/resume";
projet-intelligence-artificielle-multimedia.url = "git+https://git.fainsin.bzh/ENSEEIHT/projet-intelligence-artificielle-multimedia"; projet-intelligence-artificielle-multimedia.url = "git+https://git.fainsin.bzh/ENSEEIHT/projet-intelligence-artificielle-multimedia";
projet-modelisation-geometrique.url = "git+https://git.fainsin.bzh/ENSEEIHT/projet-modelisation-geometrique"; projet-modelisation-geometrique.url = "git+https://git.fainsin.bzh/ENSEEIHT/projet-modelisation-geometrique";

View file

@ -1,11 +1,15 @@
{pkgs, ...}: { {
inputs,
pkgs,
...
}: {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
extraConfig = extraConfig =
'' ''
exec-once=env XDG_CACHE_HOME=/tmp eww open bar exec-once=env XDG_CACHE_HOME=/tmp eww open bar
exec-once=${pkgs.swaybg}/bin/swaybg -i ~/Pictures/wallpapers/kai-oberhauser-unsplash.jpg exec-once=${pkgs.swaybg}/bin/swaybg -i ${inputs.wallpaper}
exec-once=mako exec-once=mako
exec-once=thunderbird exec-once=thunderbird
exec-once=wl-paste --watch cliphist store exec-once=wl-paste --watch cliphist store