summaryrefslogtreecommitdiff
path: root/.config/qtile/keys.py
diff options
context:
space:
mode:
Diffstat (limited to '.config/qtile/keys.py')
-rw-r--r--.config/qtile/keys.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/.config/qtile/keys.py b/.config/qtile/keys.py
index 8667d2e..76625a1 100644
--- a/.config/qtile/keys.py
+++ b/.config/qtile/keys.py
@@ -7,10 +7,12 @@ from libqtile.command import lazy
class MyKeys():
- def __init__(self,mod,browser,term):
+ def __init__(self,mod,browser,term,editor):
self.mod = mod
self.browser = browser
self.term = term
+ self.editor = editor
+
def init_keys(self):
my_keys = [
@@ -52,8 +54,8 @@ class MyKeys():
desc='Shutdown Qtile'
),
Key([self.mod, "shift"], "e",
- lazy.spawn("emacsclient -c -a 'emacs'"),
- desc='Doom Emacs'
+ lazy.spawn(self.editor),
+ desc='Launch editor'
),
### Switch focus of monitors
Key([self.mod], "period",