Add HM modules for feh
This commit is contained in:
parent
4bf7974c6d
commit
54199f717b
1 changed files with 12 additions and 0 deletions
12
modules/feh/hm.nix
Normal file
12
modules/feh/hm.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
{
|
||||
options.stylix.targets.feh.enable =
|
||||
config.lib.stylix.mkEnableTarget
|
||||
"the desktop background using Feh"
|
||||
true;
|
||||
|
||||
config.xsession.initExtra =
|
||||
lib.mkIf config.stylix.targets.feh.enable
|
||||
"${pkgs.feh}/bin/feh --no-fehbg --bg-scale ${config.stylix.image}";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue