dotfiles/hm/desktop/background/default.nix

10 lines
267 B
Nix
Raw Permalink Normal View History

2024-01-15 19:26:44 +01:00
{ pkgs, config, lib, ... }:
{
config = {
2024-01-15 19:26:44 +01:00
# This correctly sets the background on some occasions, below does the rest
programs.autorandr.hooks.postswitch = {
background = "${pkgs.feh}/bin/feh --no-fehbg --bg-fill ${config.stylix.image}";
};
};
}