Use feh for managing wallpaper

This commit is contained in:
Oliver Davies 2024-01-08 01:13:35 +00:00
parent c700329642
commit e87b718592
4 changed files with 16 additions and 7 deletions

View file

@ -1,6 +1,17 @@
{ username, ... }:
{
services.autorandr.enable = true;
xdg.configFile."autorandr/postswitch" = {
executable = true;
text = ''
#!/usr/bin/env bash
feh --randomize --bg-scale /home/${username}/Pictures/Wallpaper/*;
'';
};
programs.autorandr = {
enable = true;