defaultApps: use basenames of executables for session vars

This commit is contained in:
Aly Raffauf 2024-08-23 12:42:44 -04:00
parent 5b9a79974b
commit 7dc73c6e4e

View file

@ -29,9 +29,9 @@ in {
]; ];
sessionVariables = { sessionVariables = {
BROWSER = "${lib.getExe cfg.webBrowser}"; BROWSER = "${builtins.baseNameOf (lib.getExe cfg.webBrowser)}";
EDITOR = "${lib.getExe cfg.terminalEditor}"; EDITOR = "${builtins.baseNameOf (lib.getExe cfg.terminalEditor)}";
TERMINAL = "${lib.getExe cfg.terminal}"; TERMINAL = "${builtins.baseNameOf (lib.getExe cfg.terminal)}";
}; };
}; };