defaultApps: set xfce4 helpers.rc

This commit is contained in:
Aly Raffauf 2024-08-23 12:46:31 -04:00
parent 7dc73c6e4e
commit 39bf1b0b54
2 changed files with 6 additions and 6 deletions

View file

@ -14,11 +14,5 @@
xfce.tumbler xfce.tumbler
xfce.xfconf xfce.xfconf
]; ];
xdg.configFile."xfce4/helpers.rc".text = ''
FileManager=thunar
TerminalEmulator=kitty
WebBrowser=firefox
'';
}; };
} }

View file

@ -36,6 +36,12 @@ in {
}; };
xdg = { xdg = {
configFile."xfce4/helpers.rc".text = ''
FileManager=${builtins.baseNameOf (lib.getExe cfg.fileManager)}
TerminalEmulator=${builtins.baseNameOf (lib.getExe cfg.terminal)}
WebBrowser=${builtins.baseNameOf (lib.getExe cfg.webBrowser)}
'';
mimeApps = { mimeApps = {
enable = true; enable = true;