dotfiles/hm/desktop/background/default.nix
2024-01-27 14:23:26 +01:00

10 lines
267 B
Nix

{ pkgs, config, lib, ... }:
{
config = {
# 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}";
};
};
}