all repos — nixfiles @ 7b55894e04f1af73e4846d2c152536f7f702c96d

System and user configuration, managed by nix and home-manager

Improve edit/emacs access
Alan Pearce alan@alanpearce.eu
Thu, 27 Jun 2019 16:41:20 +0200
commit

7b55894e04f1af73e4846d2c152536f7f702c96d

parent

473a10c40202f3934c355624d67c82e30b120f13

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M modules/user-interface.nixmodules/user-interface.nix
@@ -21,7 +21,7 @@ Name=Emacsclient       GenericName=Text Editor
       Comment=Edit text
       MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
-      Exec=emacseditor %F
+      Exec=${editorScript}/bin/edit %F
       Icon=emacs
       Type=Application
       Terminal=false
@@ -43,6 +43,8 @@     epdfview
     geeqie
 
+    emacsPackage
+    editorScript
     termite
 
     lxappearance