commit aa0aba3819f4df5b37e8321ad970893a710e1d1e parent 9f6e5e9b9fda341e78c36816bdd190842eedb554 Author: Vincent Demeester <vincent@sbr.pm> Date: Tue, 28 Aug 2018 10:09:12 +0200 Start emacs daemon's and update org-protocol desktop application Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | i3.nix | | | 10 | ++++++---- |
M | xorg/org-protocol.desktop | | | 2 | +- |
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/i3.nix b/i3.nix @@ -129,10 +129,12 @@ assign [class="Firefox" window_role="browser"] → $WS1 ## quick terminal (tmux) - exec --no-startup-id emacs --title emask --name emask - for_window [instance="emask"] floating enable; - for_window [instance="emask"] move scratchpad; [instance="emask"] scratchpad show; move position 0px 0px; move scratchpad - bindcode $mod+Shift+49 [instance="emask"] scratchpad show + exec --no-startup-id emacs --daemon + exec --no-startup-id emacs --daemon=org + #exec --no-startup-id emacsclient -c --title emask --name emask + #for_window [instance="emask"] floating enable; + #for_window [instance="emask"] move scratchpad; [instance="emask"] scratchpad show; move position 0px 0px; move scratchpad + #bindcode $mod+Shift+49 [instance="emask"] scratchpad show exec --no-startup-id alacritty --title metask --command tmux for_window [instance="metask"] floating enable; for_window [instance="metask"] move scratchpad; [instance="metask"] scratchpad show; move position 0px 0px; move scratchpad diff --git a/xorg/org-protocol.desktop b/xorg/org-protocol.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=org-protocol -Exec=/home/vincent/.nix-profile/bin/emacsclient -c -n %u +Exec=/home/vincent/.nix-profile/bin/emacsclient -s org -c -n %u Type=Application Terminal=false Categories=System;