aboutsummaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorMichael Kantor <michael@mikekantor.xyz>2024-01-18 06:14:12 -0500
committerMichael Kantor <michael@mikekantor.xyz>2024-01-18 06:14:12 -0500
commite3ab6a255d69df365f959a284867784d5cb4cb67 (patch)
treefee325bbc7694a1f63ad45ab2756301280578bec /config.py
parent635fd7bbcc481ed10b1265e276bdae355ca035c6 (diff)
Added scratchpad for vimpc.
Diffstat (limited to 'config.py')
-rw-r--r--config.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/config.py b/config.py
index c783d75..d08d0f7 100644
--- a/config.py
+++ b/config.py
@@ -201,6 +201,14 @@ def cycle_float(qtile, direc):
# except:
# pass
+
+#def debug_key(qtile):
+# #dic = dir(DropDown("vimpc", f"{term} -e vimpc -h {home}/.mpd/socket -p 6600", opacity=1).info)
+# dic = DropDown("vimpc", f"{term} -e vimpc -h {home}/.mpd/socket -p 6600", opacity=1).info()
+#
+# with open('/tmp/qtile_debug.py', 'w') as f:
+# f.write(str(dic))
+
@hook.subscribe.setgroup
def move_pin():
global pinned_wins
@@ -405,7 +413,7 @@ keys = [
Key([mod], "r", lazy.group['scratchpad'].dropdown_toggle('term')),
- #Key([mod, "control"], "p", lazy.group['vimpc'].dropdown_toggle('vimpc')),
+ Key([mod, "control"], "p", lazy.group['vimpc'].dropdown_toggle('vimpc')),
Key([mod], "i", lazy.spawn(f"{home}/.config/qtile/cusmodules/appimg.py")),
@@ -453,6 +461,9 @@ keys = [
#Key([mod], "x", lazy.function(pinned.append, lazy.window)),
+ #Write to debug file
+ #Key([mod, "shift", "control"], "d", lazy.function(debug_key)),
+
]
group_names = [("I", {'layout': 'monadtall'}),
@@ -473,7 +484,7 @@ groups.append(ScratchPad('hidden'))
groups.append(ScratchPad("scratchpad", [ DropDown("term", term, opacity=1) ]))
-groups.append(ScratchPad("vimpc", [ DropDown("vimpc", f"{term} -e vimpc -h {home}/.mpd/socket -p 6600", opacity=1) ]))
+groups.append(ScratchPad("vimpc", [ DropDown("vimpc", f"{term} -e vimpc -h {home}/.mpd/socket -p 6600", opacity=1, height=0.55) ]))
groups.append(Group("X"))