21 lines
608 B
Nix
21 lines
608 B
Nix
{ pkgs, ... }:
|
|
let
|
|
theme = import ../../theme.nix { inherit pkgs; };
|
|
in
|
|
{
|
|
home.file = {
|
|
".config/nwg-panel/excluded-dirs".text = ''
|
|
|
|
'';
|
|
".config/nwg-panel/preferred-apps.json".text = ''
|
|
{
|
|
"\\.pdf$": "${theme.defaultApps.browser.pname}",
|
|
"\\.svg$": "inkscape",
|
|
"\\.(jpg|png|tiff|gif)$": "${theme.defaultApps.imageViewer.pname}",
|
|
"\\.(mp3|ogg|flac|wav|wma)$": "audacious",
|
|
"\\.(avi|mp4|mkv|mov|wav)$": "${theme.defaultApps.video.pname}",
|
|
"\\.(doc|docx|xls|xlsx)$": "${theme.defaultApps.office.pname}"
|
|
}
|
|
'';
|
|
};
|
|
} |