aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-02-27 11:19:13 +0800
committerGuangxiong Lin <[email protected]>2022-02-27 11:19:13 +0800
commit143d64f6805361368964c2ad1598bd06d96acfb5 (patch)
tree653d286db0e8fd73b7e07e6c9c90a8771ebdb29c /.config
parent88abbc325521533658d6ff60bc7946827ca7a857 (diff)
downloaddotfiles-143d64f6805361368964c2ad1598bd06d96acfb5.tar.gz
dotfiles-143d64f6805361368964c2ad1598bd06d96acfb5.tar.bz2
dotfiles-143d64f6805361368964c2ad1598bd06d96acfb5.zip
Add emacs into i3 quick launch
Diffstat (limited to '.config')
-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"