Commit bb731773450d
Changed files (4)
modules
profiles
assets
xorg
modules/profiles/assets/xorg/org-protocol.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=org-protocol
-Exec=eco -n %u
+Exec=ec -n %u
Type=Application
Terminal=false
Categories=System;
modules/profiles/emacs.nix
@@ -34,23 +34,6 @@ in
WantedBy = [ "default.target" ];
};
};
- systemd.user.services.emacs-org = {
- Unit = {
- Description = "Emacs: the extensible, self-documenting text editor";
- };
- Service = {
- Environment = ''
- PATH=/home/vincent/bin:/home/vincent/.local/npm/bin:/run/wrappers/bin:/etc/profiles/per-user/vincent/bin:${config.home.profileDirectory}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin GOPATH=/home/vincent ASPELL_CONF=dict-dir=/home/vincent/.nix-profile/lib/aspell
- '';
- Type = "forking";
- ExecStart = "${pkgs.bash}/bin/bash -c 'source /etc/profile; exec /home/vincent/.nix-profile/bin/emacs --daemon=org'";
- ExecStop = "/home/vincent/.nix-profile/bin/emacsclient --socket-name=org --eval (kill-emacs)";
- Restart = "always";
- };
- Install = {
- WantedBy = [ "default.target" ];
- };
- };
programs.emacs = {
enable = true;
# package = pkgs.myEmacs;
pkgs/scripts/bin/eco
@@ -1,2 +0,0 @@
-#!/usr/bin/env bash
-emacsclient --socket-name=org --create-frame $@
pkgs/scripts/bin/eto
@@ -1,2 +0,0 @@
-#!/usr/bin/env bash
-emacsclient --socket-name=org --tty $@