1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +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

@ -379,6 +379,7 @@ import nmtSrc {
./modules/programs/kickoff
./modules/programs/looking-glass-client
./modules/programs/mangohud
./modules/programs/mpvpaper
./modules/programs/ncmpcpp-linux
./modules/programs/nh
./modules/programs/onedrive

View file

@ -0,0 +1 @@
{ mpvpaper-example-config = ./example-config.nix; }

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}
'';
}

View file

@ -0,0 +1,3 @@
firefox
librewolf
steam

View file

@ -0,0 +1,3 @@
obs
virt-manager
gimp