mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 06:11:55 -05:00
defaultApps: use basenames of executables for session vars
This commit is contained in:
parent
5b9a79974b
commit
7dc73c6e4e
|
@ -29,9 +29,9 @@ in {
|
|||
];
|
||||
|
||||
sessionVariables = {
|
||||
BROWSER = "${lib.getExe cfg.webBrowser}";
|
||||
EDITOR = "${lib.getExe cfg.terminalEditor}";
|
||||
TERMINAL = "${lib.getExe cfg.terminal}";
|
||||
BROWSER = "${builtins.baseNameOf (lib.getExe cfg.webBrowser)}";
|
||||
EDITOR = "${builtins.baseNameOf (lib.getExe cfg.terminalEditor)}";
|
||||
TERMINAL = "${builtins.baseNameOf (lib.getExe cfg.terminal)}";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue