summaryrefslogtreecommitdiff
path: root/.config/qtile/config.py
diff options
context:
space:
mode:
Diffstat (limited to '.config/qtile/config.py')
-rw-r--r--.config/qtile/config.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index f5f2605..e5b695d 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -197,20 +197,23 @@ mod = "mod4"
browser = "firefox"
keys = [
- Key([mod],"Return",lazy.spawn("emacsclient -c"),),
- Key([mod,"shift"],"m",lazy.spawn("emacsclient -e '(thanos/pass-launcher)'"),),
Key([mod],"r",lazy.spawn("rofi -show drun -modi drun -show-icons"),),
Key([mod, "shift"], "l", lazy.spawn("slock")),
Key([mod,"shift"],"c",lazy.next_layout(),),
Key([mod],"q",lazy.window.kill(),),
Key([mod,"shift"],"r",lazy.restart(),),
- Key([mod,"shift"], "d", lazy.spawn("emacs --daemon")),
- Key([mod,"shift"], "e", lazy.spawn("emacs")),
# Switch focus of monitors
Key([mod],"period",lazy.next_screen(),),
# Treetab controls
Key([mod,"shift"],"b",lazy.layout.move_left(),),
Key([mod,"shift"],"f",lazy.layout.move_right(),),
+ # Emacs
+ KeyChord([mod], "e", [
+ Key([], "o", lazy.spawn("emacs")),
+ Key([], "e", lazy.spawn("emacsclient -c")),
+ Key([], "p", lazy.spawn("emacsclient -e '(thanos/pass-launcher)'")),
+ Key([], "d", lazy.spawn("emacs --daemon"))
+ ]),
# Window controls
Key([mod],"n",lazy.layout.down(),),
Key([mod],"p",lazy.layout.up(),),