configurations: emacs

This commit is contained in:
2024-11-11 01:22:14 +01:00
parent d3d3397c23
commit 3d1cc80150
5 changed files with 74 additions and 66 deletions
@@ -89,7 +89,7 @@ in {
name = "Emacs";
genericName = "Edytor tekstu";
comment = "Edytuj tekst";
exec = ''env COLORTERM=truecolor emacsclient -a "" -c %F'';
exec = ''env COLORTERM=truecolor emacsclient -a "" -r -n %F'';
icon = "emacs";
terminal = false;
type = "Application";
@@ -113,7 +113,7 @@ in {
"x-scheme-handler/org-protocol"
];
actions.new-window = {
exec = ''env COLORTERM=truecolor emacsclient -a "" -c %F'';
exec = ''env COLORTERM=truecolor emacsclient -a "" -c -n %F'';
name = "Nowe okno";
};
actions.no-daemon = {
+1 -1
View File
@@ -164,7 +164,7 @@ in
${lib.getExe pkgs.curl} -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | ${lib.getExe pkgs.python3}
}
${lib.optionalString config.materus.profile.editor.emacs.enable ''alias "e"="emacsclient -nw -c --alternate-editor= "''}
${lib.optionalString config.materus.profile.editor.emacs.enable ''alias "ee"="emacsclient -n -r --alternate-editor= "''}
'' +