tweak(infinidoge): always create frame in editor script
This commit is contained in:
parent
acd97a7b1a
commit
106229cc3c
1 changed files with 2 additions and 6 deletions
|
@ -64,14 +64,10 @@ in
|
|||
pkg = config.home-manager.users.infinidoge.programs.emacs.package;
|
||||
editorScript = pkgs.writeScriptBin "emacseditor" ''
|
||||
#!${pkgs.runtimeShell}
|
||||
if [ -z "$1" ]; then
|
||||
exec ${pkg}/bin/emacsclient --create-frame
|
||||
else
|
||||
exec ${pkg}/bin/emacsclient "$@"
|
||||
fi
|
||||
exec ${pkg}/bin/emacsclient --create-frame "$@"
|
||||
'';
|
||||
in
|
||||
(lib.mkOverride 900 "${editorScript}/bin/emacseditor");
|
||||
(lib.mkForce "${editorScript}/bin/emacseditor");
|
||||
|
||||
modules = {
|
||||
locale.fonts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue