From cd0cdb4cc333a1f8649d7abd9cff3357b192c5b2 Mon Sep 17 00:00:00 2001 From: Michael Kantor Date: Wed, 17 Apr 2024 06:31:27 -0400 Subject: Removed condition that made mpv stop floating while pinned. --- config.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index 00c8919..b7761c2 100644 --- a/config.py +++ b/config.py @@ -203,8 +203,8 @@ def cycle_float(qtile, direc): #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() +# global pinned_wins +# dic = (pinned_wins[0].floating) # # with open('/tmp/qtile_debug.py', 'w') as f: # f.write(str(dic)) @@ -222,9 +222,6 @@ def move_pin(): i.togroup(str(qtile.current_group.name)) - if 'mpv' in name: - i.disable_floating() - #with open('/tmp/wins.dict', 'w') as f: # f.write(str(qtile.groups().get('swallow').get('windows'))) -- cgit v1.2.1