diff options
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -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")) |