From d9e9d5fcf0a8185de7cd0d2318b82da00a7d0718 Mon Sep 17 00:00:00 2001 From: Daniel Thwaites Date: Mon, 21 Dec 2020 14:12:04 +0000 Subject: [PATCH] Add module for X background --- default.nix | 1 + modules/feh.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 modules/feh.nix diff --git a/default.nix b/default.nix index 3865a812..cfa35c7f 100644 --- a/default.nix +++ b/default.nix @@ -3,6 +3,7 @@ ./stylix/default.nix ./modules/console.nix + ./modules/feh.nix ./modules/fish.nix ./modules/gtk.nix ./modules/kitty.nix diff --git a/modules/feh.nix b/modules/feh.nix new file mode 100644 index 00000000..1a16e199 --- /dev/null +++ b/modules/feh.nix @@ -0,0 +1,7 @@ +{ pkgs, config, ... }: + +{ + # Set background image + services.xserver.displayManager.sessionCommands = + "${pkgs.feh}/bin/feh --no-fehbg --bg-scale ${config.stylix.image}"; +}