diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | config.py | 15 |
2 files changed, 14 insertions, 2 deletions
@@ -67,6 +67,7 @@ Default programs are located at the top of `config.py`. |MODKEY + C|Opens Xterm| |MODKEY + P|Dmenu run.| |MODKEY + R|Scratchpad.| +|MODKEY + CONTROL + P|Vimpc scratchpad.| |MODKEY + I|Run an Appimage.| |MODKEY + F|Open web browser.| |MODKEY + CONTROL + F|Open private web browser.| @@ -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")) |