1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-01 06:31:04 +01:00

mpvpaper: add module (#6926)

Provides a module for configuring mpvpaper a video wallpaper program for wlroots based wayland compositors. It provides options for setting the 'pauselist' and 'stoplist'.
This commit is contained in:
Aguirre Matteo 2025-04-28 16:49:19 +00:00 committed by GitHub
parent c54a8ab0d2
commit d0d9d0a145
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 94 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{
programs.mpvpaper = {
enable = true;
pauseList = ''
firefox
librewolf
steam
'';
stopList = ''
obs
virt-manager
gimp
'';
};
nmt.script = ''
assertFileExists home-files/.config/mpvpaper/pauselist
assertFileExists home-files/.config/mpvpaper/stoplist
assertFileContent home-files/.config/mpvpaper/pauselist \
${./pauselist}
assertFileContent home-files/.config/mpvpaper/stoplist \
${./stoplist}
'';
}