class WmiiConfig(object): auto_fullscreen = True main = None groups = [ libqtile.config.Group("a"), libqtile.config.Group("b"), libqtile.config.Group("c"), libqtile.config.Group("d") ] layouts = [ layout.Wmii(), ] floating_layout = libqtile.layout.floating.Floating() keys = [] mouse = [] screens = [] follow_mouse_focus = False
inactive_fg=COLS["light_0"], inactive_bg=BORDER_NORMAL, active_bg=COLS["light_3"], active_fg=BORDER_NORMAL, sections=[" .: Windows :."], # Want a consistant font w. the terminal here foreground=FONT_PARAMS["foreground"], fontsize=FONT_PARAMS["fontsize"], font="ProFontWindows Nerd Font Mono Book", ), # XXX : Emulate Wmii tiling: each new window adds to the focused # column. Moving a window "out" of the current colmun creates # a new column. layout.Wmii( border_normal=BORDER_NORMAL, border_focus=BORDER_FOCUS, border_width=BORDER_WIDTH, margin=MARGIN, ), # XXX : A simple grid fill of the screen aiming for square number tilings # at the expense of leaving blank positions if it correctly places # the remaining windows. # layout.Matrix( # border_normal=BORDER_NORMAL, # border_focus=BORDER_FOCUS, # border_width=BORDER_WIDTH, # margin=MARGIN, # ), # XXX: Split the screen according to a given ratio. Kind of tricky to # know exactly what it will do without experimenting...! # layout.RatioTile( # border_normal=BORDER_NORMAL,
def highlight(hls): return lsMultiply(hls, 1.0, 1.5) # Define layout color settings layout_color = dict( border_focus = toHexColor(fade(screenColor(0))), border_normal = toHexColor(fade(fade(white))), border_width = 1, ) # Define layouts layouts = [ layout.MonadTall(name="Tall", **layout_color), layout.Matrix( name="Matrix", **layout_color), layout.Wmii( name="Stack", **layout_color), layout.Zoomy( name="Zoomy", **layout_color), layout.Max( name="Full", **layout_color), ] def groupColors(screen, focus, windows, urgents): if urgents: return white, (0, 0.6, 0) if screen and focus: return white, screenColor(screen.index) if screen: return fade(white), fade(screenColor(screen.index)) if windows and focus: return black, (0.0, 0.6, 0.0) if windows: return black, fade((0.0, 0.6, 0.0)) return (0.0, 0.7, 0.0), (0.0, 0.2, 0.0) def formatGroup(widget, group, qtile): screen = widget.bar.screen focus = qtile.currentScreen == screen
layout='max', persist=False, matches=[Match(wm_class=['Clementine', 'Viridian'])]), Group('www', spawn='google-chrome', layout='max', persist=False, matches=[ Match(wm_class=['Firefox', 'google-chrome', 'Google-chrome']) ]), ]) border_args = dict(border_width=1, ) layouts = [ layout.Wmii(), layout.Stack(num_stacks=2, **border_args), layout.Max(), # a layout just for gimp layout.Slice(side='left', width=192, name='gimp', role='gimp-toolbox', fallback=layout.Slice(side='right', width=256, role='gimp-dock', fallback=layout.Stack(num_stacks=1, **border_args))), layout.MonadTall(ratio=0.65, **border_args), ]
groups = [Group(i) for i in "123456789"] for i in groups: keys.extend([ # mod1 + letter of group = switch to group Key([mod], i.name, lazy.group[i.name].toscreen()), # mod1 + shift + letter of group = switch to & move focused window to group Key([mod, "shift"], i.name, lazy.window.togroup(i.name)), ]) layouts = [ layout.Bsp(margin=15, fair=False, border_focus='#FFB400', border_width=4), layout.Matrix(border_focus='#FFB400', margin=15, border_width=4), layout.MonadTall(border_focus='#FFB400', margin=15, border_width=4), layout.Wmii(border_focus='#FFB400', margin=15, border_width=4), ] widget_defaults = dict( font='DejaVuSansMonoForPowerline Nerd Font', fontsize=13, padding=3, ) default_configuration1 = dict( fontsize=13, foreground="FFFFFF", background=["071E3A", "071E3A"], font="ttf-droid", margin_y=2, font_shadow="000000", )