aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/i3/config10
1 files changed, 6 insertions, 4 deletions
diff --git a/.config/i3/config b/.config/i3/config
index abb77e9..8c092e0 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -207,11 +207,13 @@ mode "$mode_system" {
bindsym $mod+Shift+c mode "$mode_system"
-set $mode_launch Launch [a] org-agenda [c] org-capture [j] org-roam-dailies [w] webbrowser [m] mutt [n] newsboat
-set $org_agenda emacs -f org-agenda -f delete-other-windows
-set $org_capture emacs -f org-capture -f delete-other-windows
-set $org_roam_dailies emacs -f org-roam-dailies-goto-today -f delete-other-windows
+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
mode "$mode_launch" {
+ bindsym e exec $Emacs, mode "default"
bindsym a exec $org_agenda, mode "default"
bindsym m exec $Terminal -e mutt, mode "default"
bindsym n exec $Terminal -e newsboat, mode "default"