From 8de88c174c10814e6b02a2b86114510ce0a02f87 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 20 Mar 2022 20:17:58 +0800 Subject: Use emacsclient in i3wm --- .config/i3/config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.config') diff --git a/.config/i3/config b/.config/i3/config index 8c092e0..cc5d9fd 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -208,10 +208,10 @@ mode "$mode_system" { bindsym $mod+Shift+c mode "$mode_system" set $mode_launch Launch [e] emacs [a] org-agenda [c] org-capture [j] org-roam-dailies [w] webbrowser [m] mutt [n] newsboat -set $org_agenda LC_CTYPE='zh_CN.UTF-8' emacs -f org-agenda -f delete-other-windows -set $org_capture LC_CTYPE='zh_CN.UTF-8' emacs -f org-capture -f delete-other-windows -set $org_roam_dailies LC_CTYPE='zh_CN.UTF-8' emacs -f org-roam-dailies-goto-today -f delete-other-windows -set $Emacs LC_CTYPE='zh_CN.UTF-8' emacs +set $org_agenda LC_CTYPE='zh_CN.UTF-8' ec -e '(org-agenda)' +set $org_capture LC_CTYPE='zh_CN.UTF-8' ec -e '(org-capture)' +set $org_roam_dailies LC_CTYPE='zh_CN.UTF-8' ec -e '(org-roam-dailies-goto-today)' +set $Emacs LC_CTYPE='zh_CN.UTF-8' ec mode "$mode_launch" { bindsym e exec $Emacs, mode "default" bindsym a exec $org_agenda, mode "default" -- cgit v1.2.3