From 143d64f6805361368964c2ad1598bd06d96acfb5 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 27 Feb 2022 11:19:13 +0800 Subject: Add emacs into i3 quick launch --- .config/i3/config | 10 ++++++---- 1 file 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" -- cgit v1.2.3