aboutsummaryrefslogtreecommitdiff
path: root/.config/i3/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3/config')
-rw-r--r--.config/i3/config8
1 files changed, 4 insertions, 4 deletions
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"