mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-01 06:31:04 +01:00
Provides a module for configuring mpvpaper a video wallpaper program for wlroots based wayland compositors. It provides options for setting the 'pauselist' and 'stoplist'.
24 lines
489 B
Nix
24 lines
489 B
Nix
{
|
|
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}
|
|
'';
|
|
}
|