diff options
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 29 |
1 files changed, 6 insertions, 23 deletions
@@ -212,17 +212,6 @@ def cycle_float(qtile, direc): # # with open('/tmp/qtile_debug.py', 'w') as f: # f.write(str(dic)) -#@hook.subscribe.changegroup -#def defloat_mpv_onchange(): -# global qtile - -# with open('/tmp/wins.dict', 'w') as f: -# f.write(str(dir(qtile.current_group))) - - #name = c.info()['name'] - - #if 'mpv' in name: - # c.disable_floating() @hook.subscribe.setgroup def move_pin(): @@ -240,13 +229,6 @@ def move_pin(): #with open('/tmp/wins.dict', 'w') as f: # f.write(str(qtile.groups().get('swallow').get('windows'))) -@hook.subscribe.client_name_updated -def defloat_mpv(c): - name = c.info()['name'] - - if 'mpv' in name: - c.disable_floating() - @hook.subscribe.client_killed def un_swallow(c): global terms @@ -291,9 +273,6 @@ def swallow(c): #with open('/tmp/test.fifo', 'r') as f: # f.write(name) - if 'mpv' in name: - c.disable_floating() - pid = c.window.get_net_wm_pid() if pid == None: @@ -511,6 +490,7 @@ keys.append(Key([mod, "control"], '0', lazy.window.togroup('X'), lazy.group['X'] widget_defaults = { 'font': 'Nimbus Sans', + #'font': 'Liberation Sans', 'fontsize': 13, 'padding': 2, } @@ -542,10 +522,11 @@ screens = [ widget.GroupBox( margin_y = 6, - margin_x = 0, + margin_x = 5, padding_y = 5, - padding_x = 3, + padding_x = 1, borderwidth = 3, + spacing = 1, active = '#ffffff', inactive = inactive('color0'), rounded = False, @@ -553,6 +534,8 @@ screens = [ highlight_color = [color.get('color0').strip('#'), highlight('color0')], background = color.get('color0'), this_current_screen_border = color.get('color6'), + fontsize = 15, + font = 'Liberation Sans' ), widget.TextBox( |