My Qtile window manager configuration
git clone https://github.com/m-col/qtile-config
Files | Refs | Readme

Commit 3ad65292c5e8d920648657e18c1f1e694d1a1454
Parent: 7b455f0baca8640595751f7cfd172674a120834c
Author: mcol <mcol@posteo.net>
Date: 2021-10-18 00:37:08 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-10-18 00:37:08 +0100

Clean out scratchpad

scratchpad.py Modified

@@ -21,13 +21,11 @@
 
 if IS_WAYLAND:
     term = "foot "
-    mutt = f"foot -D {HOME}/Downloads mutt"
 else:
     if IS_XEPHYR:
         term = "xterm -e "
     else:
         term = "urxvt -e "
-    mutt = f"urxvt -cd {HOME}/Downloads -e mutt"
 
 
 conf = {
@@ -38,28 +36,16 @@
 
 dropdowns = [
     DropDown("tmux", term + "tmux", height=0.4, **conf),
-    #DropDown("irc", term + "irc", x=0.1, y=0.05, width=0.8, height=0.9, **conf),
     DropDown("ncmpcpp", term + "ncmpcpp", x=0.12, y=0.2, width=0.56, height=0.7, **conf),
     DropDown("python", term + "python", x=0.05, y=0.1, width=0.2, height=0.3, **conf),
-    #DropDown("email", mutt, x=0.1, y=0.05, width=0.8, height=0.9, **conf),
-    #DropDown("newsboat", term + "newsboat", x=0.2, y=0.05, width=0.6, height=0.9, **conf),
 ]
 
 
 # Keybindings to open each DropDown
 keys_scratchpad = [
-    ([mod, 'shift'],     'Return',
-        lazy.group['scratchpad'].dropdown_toggle('tmux'), "Toggle tmux scratchpad"),
-    ([mod, 'control'],   'e',
-        lazy.group['scratchpad'].dropdown_toggle('email'), "Toggle email scratchpad"),
-    ([mod, 'control'],   'w',
-        lazy.group['scratchpad'].dropdown_toggle('irc'), "Toggle irc scratchpad"),
-    ([mod, 'control'],   'm',
-        lazy.group['scratchpad'].dropdown_toggle('ncmpcpp'), "Toggle ncmpcpp scratchpad"),
-    ([mod],              'c',
-        lazy.group['scratchpad'].dropdown_toggle('python'), "Toggle python scratchpad"),
-    #([mod, 'control'],   'n',
-    #    lazy.group['scratchpad'].dropdown_toggle('newsboat'), "Toggle newsboat scratchpad"),
+    ([mod, 'shift'], 'Return', lazy.group['scratchpad'].dropdown_toggle('tmux'), "Toggle tmux scratchpad"),
+    ([mod, 'control'], 'e', lazy.group['scratchpad'].dropdown_toggle('ncmpcpp'), "Toggle ncmpcpp scratchpad"),
+    ([mod], 'c', lazy.group['scratchpad'].dropdown_toggle('python'), "Toggle python scratchpad"),
 ]
 
 scratchpad = ScratchPad("scratchpad", dropdowns)