aboutsummaryrefslogtreecommitdiff
path: root/i3/config
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2016-07-04 12:48:17 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2016-07-04 12:48:17 +0200
commit530bb482c3c167ccc1f101498d7f321fcacc244c (patch)
treee4453a80f312a57f017dd40b24629ea34880dcec /i3/config
parentad38c0b697617a2b246c7bc83cfb47afb33de10f (diff)
downloaddotfiles-530bb482c3c167ccc1f101498d7f321fcacc244c.tar.gz
dotfiles-530bb482c3c167ccc1f101498d7f321fcacc244c.zip
i3: let's add a shortcut for non-daemon Emacs
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'i3/config')
-rw-r--r--i3/config4
1 files changed, 3 insertions, 1 deletions
diff --git a/i3/config b/i3/config
index 6f1c0ec..20b4166 100644
--- a/i3/config
+++ b/i3/config
@@ -164,8 +164,10 @@ bindsym Print exec scrot -u
# Toggle keyboard layout US <-> CAT
bindsym $mod+F1 exec ~/bin/toggle-keyboard-layout.sh
-# Emacs
+# Emacs. By default we go with daemon mode, but if something is wrong, it's
+# cool to have a safe way to start Emacs.
bindsym $mod+m exec emacsclient -c -a ""
+bindsym $mod+Shift+m exec emacs
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available). This setup has DP-1 as the monitor on the right,