Ejemplo n.º 1
0
    #     border_width = 2,
    #     bg_color = "1c1f24",
    #     active_bg = "c678dd",
    #     active_fg = "000000",
    #     inactive_bg = "a9a1e1",
    #     inactive_fg = "1c1f24",
    #     padding_left = 0,
    #     padding_x = 0,
    #     padding_y = 5,
    #     section_top = 10,
    #     section_bottom = 20,
    #     level_shift = 8,
    #     vspace = 3,
    #     panel_width = 200
    #     ),
    layout.Floating(**layout_theme)
]

colors = [["#282c34", "#282c34"], # panel background
          ["#3d3f4b", "#434758"], # background for current screen tab
          ["#ffffff", "#ffffff"], # font color for group names
          ["#ff5555", "#ff5555"], # border line color for current tab
          ["#74438f", "#74438f"], # border line color for 'other tabs' and color for 'odd widgets'
          ["#4f76c7", "#4f76c7"], # color for the 'even widgets'
          ["#e1acff", "#e1acff"], # window name
          ["#ecbbfb", "#ecbbfb"]] # backbround for inactive screens

prompt = "{0}@{1}: ".format(os.environ["USER"], socket.gethostname())

##### DEFAULT WIDGET SETTINGS #####
widget_defaults = dict(
Ejemplo n.º 2
0
         lazy.window.set_size_floating(),
         start=lazy.window.get_size()),
    Click([mod], "Button2", lazy.window.bring_to_front())
]

dgroups_key_binder = None
dgroups_app_rules = []  # type: List
main = None  # WARNING: this is deprecated and will be removed soon
follow_mouse_focus = True
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating(float_rules=[
    # Run the utility of `xprop` to see the wm class and name of an X client.
    *layout.Floating.default_float_rules,
    Match(wm_class='confirmreset'),  # gitk
    Match(wm_class='makebranch'),  # gitk
    Match(wm_class='maketag'),  # gitk
    Match(wm_class='ssh-askpass'),  # ssh-askpass
    Match(title='branchdialog'),  # gitk
    Match(title='pinentry'),  # GPG key password entry
])
auto_fullscreen = True
focus_on_window_activation = "smart"

# XXX: Gasp! We're lying here. In fact, nobody really uses or cares about this
# string besides java UI toolkits; you can see several discussions on the
# mailing lists, GitHub issues, and other WM documentation that suggest setting
# this string if your java app doesn't work correctly. We may as well just lie
# and say that we're a working one by default.
#
# We choose LG3D to maximize irony: it is a 3D non-reparenting WM written in
# java that happens to be on java's whitelist.
Ejemplo n.º 3
0
    ["#1b1c1d", "#1b1c1d"],  # background color
    ["#1b1c1d50", "#1b1c1d50"],  # background for selected workspace
    ["#ffffff", "#ffffff"],  # foreground color
    ["#e75e4f", "#e75e4f"],  # red
    ["#2c70b7", "#2c70b7"],  # blue
    ["#fdc325", "#fdc325"],  # yellow
    ["#adadad", "#adadad"],  # window name color
    ["#adadad", "#adadad"]
]  # foreground color for inactive workspace

layouts = [
    layout.Columns(border_width=0,
                   #margin = 10
                   ),
    layout.Max(),
    layout.Floating(border_width=0),
    # Try more layouts by unleashing below layouts.
    # layout.Stack(num_stacks=2),
    # layout.Bsp(),
    # layout.Matrix(),
    # layout.MonadTall(),
    # layout.MonadWide(
    # layout.Tile(),
    # layout.TreeTab(),
    # layout.VerticalTile),
    # layout.RatioTile(),(),
    # layout.Zoomy(),
]

# Panel / bar at the top of the screen
Ejemplo n.º 4
0
    #     margin=MARGIN,
    #     ratio=2.5
    # ),
]

# Specification for auto floating windows: this isn't a layout in the same
# way as the ones listed above.
floating_layout = layout.Floating(
    border_normal=BORDER_NORMAL,
    border_focus=BORDER_FOCUS,
    border_width=BORDER_WIDTH,
    float_rules=[
        {'wmclass': 'confirm'},
        {'wmclass': 'dialog'},
        {'wmclass': 'download'},
        {'wmclass': 'error'},
        {'wmclass': 'file_progress'},
        {'wmclass': 'notification'},
        {'wmclass': 'splash'},
        {'wmclass': 'toolbar'},
        {'wmclass': 'gcr-prompter'},
        {'wmclass': 'confirmreset'},
        {'wmclass': 'makebranch'},
        {'wmclass': 'maketag'},
        {'wmclass': 'peek'},
        {'wname': 'branchdialog'},
        {'wname': 'pinentry'},
        {'wmclass': 'ssh-askpass'},
    ]
)
Ejemplo n.º 5
0
    Drag([mod], "Button1", lazy.window.set_position_floating(), start=lazy.window.get_position()),
    Drag([mod], "Button3", lazy.window.set_size_floating(), start=lazy.window.get_size()),
    Click([mod], "Button2", lazy.window.bring_to_front()),
]

dgroups_key_binder = None
dgroups_app_rules = []  # type: list
follow_mouse_focus = True
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating(
    float_rules=[
        # Run the utility of `xprop` to see the wm class and name of an X client.
        *layout.Floating.default_float_rules,
        Match(wm_class="confirmreset"),  # gitk
        Match(wm_class="makebranch"),  # gitk
        Match(wm_class="maketag"),  # gitk
        Match(wm_class="ssh-askpass"),  # ssh-askpass
        Match(title="branchdialog"),  # gitk
        Match(title="pinentry"),  # GPG key password entry
    ]
)
auto_fullscreen = True
focus_on_window_activation = "smart"
reconfigure_screens = True

# If things like steam games want to auto-minimize themselves when losing
# focus, should we respect this or not?
auto_minimize = True

# When using the Wayland backend, this can be used to configure input devices.
wl_input_rules = None
Ejemplo n.º 6
0
]

dgroups_key_binder = None
dgroups_app_rules = []  # type: List
main = None
follow_mouse_focus = False
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating(float_rules=[
    {'wmclass': 'confirm'},
    {'wmclass': 'dialog'},
    {'wmclass': 'download'},
    {'wmclass': 'error'},
    {'wmclass': 'file_progress'},
    {'wmclass': 'notification'},
    {'wmclass': 'splash'},
    {'wmclass': 'toolbar'},
    {'wmclass': 'confirmreset'},  # gitk
    {'wmclass': 'makebranch'},  # gitk
    {'wmclass': 'maketag'},  # gitk
    {'wname': 'branchdialog'},  # gitk
    {'wname': 'pinentry'},  # GPG key password entry
    {'wmclass': 'ssh-askpass'},  # ssh-askpass
])
auto_fullscreen = True
focus_on_window_activation = "smart"

wmname = "LG3D"


@hook.subscribe.startup_once
def autostart():
Ejemplo n.º 7
0

layout_theme = init_layout_theme()

layouts = [
    layout.MonadTall(margin=15,
                     border_width=3,
                     border_focus="#5e81ac",
                     border_normal="#4c566a"),
    layout.MonadWide(margin=15,
                     border_width=3,
                     border_focus="#5e81ac",
                     border_normal="#4c566a"),
    layout.Matrix(**layout_theme),
    layout.Bsp(**layout_theme),
    layout.Floating(**layout_theme),
    layout.RatioTile(**layout_theme),
    layout.Max(**layout_theme)
]

# COLORS FOR THE BAR


def init_colors():
    return [
        ["#2F343F", "#2F343F"],  # color 0
        ["#2F343F", "#2F343F"],  # color 1
        ["#c0c5ce", "#c0c5ce"],  # color 2
        ["#fba922", "#fba922"],  # color 3
        ["#3384d0", "#3384d0"],  # color 4
        ["#f3f4f5", "#f3f4f5"],  # color 5
Ejemplo n.º 8
0

dgroups_key_binder = group_key_binder(mod)

# A list of Rule objects which can send windows to various groups based on matching criteria.
dgroups_app_rules = []

# Default settings for extensions.
extension_defaults = None

# The default floating layout to use. This allows you to set custom floating rules
# among other things if you wish.
floating_layout = layout.Floating(
    float_rules=[
        *layout.Floating.default_float_rules,
        # Run the utility of `xprop` to see the wm class and name of an X client.
        Match(wm_class='xfce4-display-settings'),
    ],
    **layout_theme)

# Behavior of the _NET_ACTIVATE_WINDOW message sent by applications.
focus_on_window_activation = "smart"

# Controls whether or not focus follows the mouse around as it moves across windows in a layout.
follow_mouse_focus = True

# Default settings for bar widgets.
widget_defaults = dict(
    font='sans',
    fontsize=12,
    padding=3,
Ejemplo n.º 9
0
    layout.Stack(num_stacks=2),
    layout.TreeTab(
        font="Ubuntu",
        fontsize=10,
        sections=["FIRST", "SECOND"],
        section_fontsize=11,
        bg_color="141414",
        active_bg="90C435",
        active_fg="000000",
        inactive_bg="384323",
        inactive_fg="a0a0a0",
        padding_y=5,
        section_top=10,
        panel_width=320,
    ),
    layout.Floating(**layout_theme),
]

################################################################################
################################################################################
### Widgets --------------------------------------------------------------------
################################################################################
################################################################################

##### --------------------------------------------------------------------------
### DEFAULT WIDGET SETTINGS ####################################################
##### --------------------------------------------------------------------------

widget_defaults = dict(font="Ubuntu Mono",
                       fontsize=12,
                       padding=2,
Ejemplo n.º 10
0
floating_layout = layout.Floating(
    border_normal=BORDER_NORMAL,
    border_focus=BORDER_FOCUS,
    border_width=BORDER_WIDTH,
    float_rules=[
        {
            "wmclass": "confirm"
        },
        {
            "wmclass": "dialog"
        },
        {
            "wmclass": "download"
        },
        {
            "wmclass": "error"
        },
        {
            "wmclass": "file_progress"
        },
        {
            "wmclass": "notification"
        },
        {
            "wmclass": "splash"
        },
        {
            "wmclass": "toolbar"
        },
        {
            "wmclass": "gcr-prompter"
        },
        {
            "wmclass": "confirmreset"
        },
        {
            "wmclass": "makebranch"
        },
        {
            "wmclass": "maketag"
        },
        {
            "wmclass": "peek"
        },
        {
            "wname": "branchdialog"
        },
        {
            "wname": "pinentry"
        },
        {
            "wmclass": "ssh-askpass"
        },
        {
            "wmclass": "megasync"
        },
    ],
)
Ejemplo n.º 11
0
floating_layout = layout.Floating(float_rules=[
    {"role": "EventDialog"},
    {"role": "Msgcompose"},
    {"role": "Preferences"},
    {"role": "pop-up"},
    {"role": "prefwindow"},
    {"role": "task_dialog"},
    {"role": "browser"},
    {"wname": "Module"},
    {"wname": "Terminator Preferences"},
    {"wname": "Search Dialog"},
    {"wname": "Goto"},
    {"wname": "IDLE Preferences"},
    {"wname": "Sozi"},
    {"wname": "Create new database"},
    {"wname": "Preferences"},
    {"wname": "File Transfer"},
    {"wname": 'branchdialog'},
    {"wname": 'pinentry'},
    {"wname": 'confirm'},
    {"wmclass": 'dialog'},
    {"wmclass": 'download'},
    {"wmclass": 'error'},
    {"wmclass": 'file_progress'},
    {"wmclass": 'notification'},
    {"wmclass": 'splash'},
    {"wmclass": 'toolbar'},
    {"wmclass": 'confirmreset'},
    {"wmclass": 'makebranch'},
    {"wmclass": 'maketag'},
    {"wmclass": 'Dukto'},
    {"wmclass": 'Guake'},
    {"wmclass": 'Tilda'},
    {"wmclass": 'yakuake'},
    {"wmclass": 'Xfce4-appfinder'},
    {"wmclass": "GoldenDict"},
    {"wmclass": "Synapse"},
    {"wmclass": "Pamac-updater"},
    {"wmclass": "TelegramDesktop"},
    {"wmclass": "Galculator"},
    {"wmclass": "notify"},
    {"wmclass": "Lxappearance"},
    {"wmclass": "Nitrogen"},
    {"wmclass": "Oblogout"},
    {"wmclass": "Pavucontrol"},
    {"wmclass": "VirtualBox"},
    {"wmclass": "Skype"},
    {"wmclass": "Steam"},
    {"wmclass": "nvidia-settings"},
    {"wmclass": "Eog"},
    {"wmclass": "Rhythmbox"},
    {"wmclass": "obs"},
    {"wmclass": "Gufw.py"},
    {"wmclass": "Catfish"},
    {"wmclass": "libreoffice-calc"},
    {"wmclass": "LibreOffice 3.4"},
    {"wmclass": 'ssh-askpass'},
    {"wmclass": "Mlconfig"},
    {"wmclass": "Termite"},
])
Ejemplo n.º 12
0
border_args = dict(
    border_width=1,
)

layouts = [
    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))),

    # a layout for pidgin
    layout.Slice(side='right', width=256, name='pidgin', role='buddy_list',
         fallback=layout.Stack(num_stacks=2, **border_args)),

    layout.MonadTall(ratio=0.65, **border_args),
]

no_utility = layout.floating.DEFAULT_FLOAT_WM_TYPES - {'utility'}
floating_layout = layout.Floating(auto_float_types=no_utility)

cursor_warp = True
follow_mouse_focus = True

focus_on_window_activation = "never"

# vim: tabstop=4 shiftwidth=4 expandtab
Ejemplo n.º 13
0
for i, (name, kwargs) in enumerate(group_names, 1):
    keys.append(Key([mod], str(i), lazy.group[name].toscreen()))
    keys.append(Key([mod, "shift"], str(i), lazy.window.togroup(name)))

layout_theme = {
    "border_width": 1,
    "margin": 2,
    #     "border_focus": colors["color1"],
    #     "border_normal": colors["color2"],
    "border_focus": colors["border_focus"],
    "border_normal": colors["border_normal"],
}

layouts = [
    layout.MonadTall(**layout_theme),
    layout.Floating(**layout_theme),
    layout.Max(**layout_theme),
    layout.Bsp(**layout_theme),
    layout.Zoomy(**layout_theme),
]

widget_defaults = dict(
    font="Fira Sans Medium",
    fontsize=10,
    padding=3,
)
extension_defaults = widget_defaults.copy()

power_widgets: list = [
    widget.Sep(
        linewidth=0,
Ejemplo n.º 14
0
    Click([mod], "Button2", lazy.window.bring_to_front()),
]

dgroups_key_binder = None
dgroups_app_rules = []  # type: list
follow_mouse_focus = True
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating(
    float_rules=[
        # Run the utility of `xprop` to see the wm class and name of an X client.
        *layout.Floating.default_float_rules,
        Match(wm_class='confirmreset'),  # gitk
        Match(wm_class='makebranch'),  # gitk
        Match(wm_class='maketag'),  # gitk
        Match(wm_class='ssh-askpass'),  # ssh-askpass
        Match(wm_class='Steam'),  # steam
        Match(title='branchdialog'),  # gitk
        Match(title='Nitrogen'),  # nitrogen
        Match(title='pinentry'),  # GPG key password entry
    ],
    border_focus='#ffffff',
    border_width=1)

auto_fullscreen = True
focus_on_window_activation = "smart"
reconfigure_screens = True
auto_minimize = True
wl_input_rules = None
wmname = "qtile"
Ejemplo n.º 15
0
floating_layout = layout.Floating(float_rules=[
    {
        'wmclass': 'confirm'
    },
    {
        'wmclass': 'dialog'
    },
    {
        'wmclass': 'download'
    },
    {
        'wmclass': 'error'
    },
    {
        'wmclass': 'file_progress'
    },
    {
        'wmclass': 'notification'
    },
    {
        'wmclass': 'splash'
    },
    {
        'wmclass': 'toolbar'
    },
    {
        'wmclass': 'confirmreset'
    },
    {
        'wmclass': 'makebranch'
    },
    {
        'wmclass': 'maketag'
    },
    {
        'wname': 'branchdialog'
    },
    {
        'wname': 'pinentry'
    },
    {
        'wmclass': 'ssh-askpass'
    },
],
                                  border_focus=colors["color4"][0])
Ejemplo n.º 16
0
            widget.Notify(),
            widget.Spacer(width=20),
            widget.WindowName(),
        ],
        30,
    ), ),
]

# Drag floating layouts.
mouse = [
    Drag([mod],
         "Button1",
         lazy.window.set_position_floating(),
         start=lazy.window.get_position()),
    Drag([mod],
         "Button3",
         lazy.window.set_size_floating(),
         start=lazy.window.get_size()),
    Click([mod], "Button2", lazy.window.bring_to_front())
]

dgroups_key_binder = None
dgroups_app_rules = []
main = None
follow_mouse_focus = True
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating(**border)
auto_fullscreen = True
wmname = "qtile"
Ejemplo n.º 17
0
            or window.window.get_wm_type() in floating_types):
        window.floating = True


floating_layout = layout.Floating(
    float_rules=[
        *layout.Floating.default_float_rules,
        Match(wm_class='makebranch'),  # gitk
        Match(wm_class='confirmreset'),  # gitk
        Match(wm_class='maketag'),  # gitk
        Match(title='branchdialog'),  # gitk
        Match(wm_class='ssh-askpass'),  # ssh-askpass
        Match(title='pinentry'),  # GPG key password entry
        Match(wm_class='confirm'),
        Match(wm_class='dialog'),
        Match(wm_class='download'),
        Match(wm_class='error'),
        Match(wm_class='file_progress'),
        Match(wm_class='notification'),
        Match(wm_class='splash'),
        Match(wm_class='toolbar'),
        Match(wm_class='Arandr'),
        Match(wm_class='Arcolinux-tweak-tool.py'),
        Match(wm_class='arcolinux-logout'),
        Match(title='Open File'),
    ],
    **float_theme)

auto_fullscreen = True
focus_on_window_activation = "smart"
Ejemplo n.º 18
0
# dgroups_app_rules = []  # type: List
main = None
follow_mouse_focus = True
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating(
    border_normal="#282828",
    border_focus="#ffffff",
    border_width=3,
    float_rules=[
        {'wmclass': 'confirm'},
        {'wmclass': 'telegram-desktop'},
        {'wmclass': 'dialog'},
        {'wmclass': 'download'},
        {'wmclass': 'error'},
        {'wmclass': 'file_progress'},
        {'wmclass': 'notification'},
        {'wmclass': 'splash'},
        {'wmclass': 'toolbar'},
        {'wmclass': 'confirmreset'},  # gitk
        {'wmclass': 'makebranch'},  # gitk
        {'wmclass': 'maketag'},  # gitk
        {'wname': 'branchdialog'},  # gitk
        {'wname': 'pinentry'},  # GPG key password entry
        {'wmclass': 'ssh-askpass'},  # ssh-askpass
    ])
auto_fullscreen = True
focus_on_window_activation = "smart"


#os.system("nitrogen --restore")
Ejemplo n.º 19
0
dgroups_app_rules = []

main = None  # WARNING: this is deprecated and will be removed soon
follow_mouse_focus = True
bring_front_click = True
cursor_warp = False

floating_layout = layout.Floating(float_rules=[
    {'wmclass': 'confirm'},
    {'wmclass': 'dialog'},
    {'wmclass': 'download'},
    {'wmclass': 'error'},
    {'wmclass': 'file_progress'},
    {'wmclass': 'notification'},
    {'wmclass': 'splash'},
    {'wmclass': 'toolbar'},
    {'wmclass': 'confirmreset'},
    {'wmclass': 'makebranch'},
    {'wmclass': 'maketag'},
    {'wname'  : 'branchdialog'},
    {'wname'  : 'pinentry'},
    {'wmclass': 'ssh-askpass'},
    {'wmclass': 'pavucontrol'},
], **layout_theme)

auto_fullscreen = True
focus_on_window_activation = "smart"

wmname = "LG3D"
Ejemplo n.º 20
0
def init_floating_layout():
    return layout.Floating(border_focus="#3B4022")
Ejemplo n.º 21
0
# -*- coding: utf8 -*-

from libqtile.config import Key, Screen, Group
from libqtile.command import lazy
from libqtile import layout, bar, widget, hook
import sh

follow_mouse_focus = True
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating()
mouse = ()
auto_fullscreen = True
widget_defaults = {}


def ensure_running(proc_name, run_proc):
    def start_if_required():
        try:
            sh.pidof(proc_name)
        except sh.ErrorReturnCode:
            run_proc()

    return start_if_required


startup_apps = [
    lambda: sh.xsetroot('-cursor_name', 'left_ptr', '-solid', '#000000'),
    ensure_running("gnome-keyring-daemon", lambda: sh.gnome_session(_bg=True)),
    ensure_running("nm-applet", lambda: sh.nm_applet(_bg=True)),
    lambda: sh.seafile("start", _bg=True), lambda: sh.emoji_keyboard(_bg=True)
Ejemplo n.º 22
0
floating_layout = layout.Floating(
    float_rules=[
        # Run the utility of `xprop` to see the wm class and name of an X client.
        {
            'wmclass': 'confirm'
        },
        {
            'wmclass': 'dialog'
        },
        {
            'wmclass': 'download'
        },
        {
            'wmclass': 'error'
        },
        {
            'wmclass': 'file_progress'
        },
        {
            'wmclass': 'notification'
        },
        {
            'wmclass': 'splash'
        },
        {
            'wmclass': 'toolbar'
        },
        {
            'wmclass': 'confirmreset'
        },  # gitk
        {
            'wmclass': 'makebranch'
        },  # gitk
        {
            'wmclass': 'maketag'
        },  # gitk
        {
            'wname': 'branchdialog'
        },  # gitk
        {
            'wname': 'pinentry'
        },  # GPG key password entry
        {
            'wmclass': 'ssh-askpass'
        },  # ssh-askpass
        {
            'wmclass': 'discord'
        },
        {
            'wmclass': 'kcolor-picker'
        },
        {
            'wmclass': 'galculator'
        },
        {
            'wmclass': 'lxappearance'
        },
        {
            'wmclass': 'gnome-screenshot'
        },
    ],
    border_width=2,
    border_focus=fg,
    border_normal=fg_alt)
Ejemplo n.º 23
0
        # mod1 + shift + letter of group = switch to & move focused window to group
        Key([mod, "shift"], i.name, lazy.window.togroup(i.name)),
    ])

default_layouts = {
    "margin": 8,
    "bordersize": 2,
    "border_focus": "#FFFFFF",
    "border_normal": "#282828",
}

layouts = [
    layout.Bsp(**default_layouts),
    layout.RatioTile(**default_layouts),
    layout.MonadWide(**default_layouts),
    layout.Floating(**default_layouts),
    layout.Max(**default_layouts),
    layout.Stack(num_stacks=2, **default_layouts)
]

widget_defaults = dict(
    font='Source Sans Pro',
    fontsize=20,
    padding=10,
    foreground="55ff55",
    markup=True,
)
extension_defaults = widget_defaults.copy()

arrow_text = {
    "text": "",
Ejemplo n.º 24
0
layout_conf = {
    'border_focus': colors['focus'][0],
    'border_width': 1,
    'margin': 4
}

layouts = [
    layout.Max(),
    layout.MonadTall(**layout_conf),
    layout.MonadWide(**layout_conf),
    layout.Bsp(**layout_conf),
    layout.Matrix(columns=2, **layout_conf),
    layout.RatioTile(**layout_conf),
    # layout.Columns(),
    # layout.Tile(),
    # layout.TreeTab(),
    # layout.VerticalTile(),
    # layout.Zoomy(),
]

floating_layout = layout.Floating(float_rules=[
    *layout.Floating.default_float_rules,
    Match(wm_class='confirmreset'),
    Match(wm_class='makebranch'),
    Match(wm_class='maketag'),
    Match(wm_class='ssh-askpass'),
    Match(title='branchdialog'),
    Match(title='pinentry'),
],
                                  border_focus=colors["color4"][0])
Ejemplo n.º 25
0
main = None  # WARNING: this is deprecated and will be removed soon
#follow_mouse_focus = True
follow_mouse_focus = False  #//+++
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating(float_rules=[
    # Run the utility of `xprop` to see the wm class and name of an X client.
    Match(wm_type='utility'),
    Match(wm_type='notification'),
    Match(wm_type='toolbar'),
    Match(wm_type='splash'),
    Match(wm_type='dialog'),
    Match(wm_class='file_progress'),
    Match(wm_class='confirm'),
    Match(wm_class='dialog'),
    Match(wm_class='download'),
    Match(wm_class='error'),
    Match(wm_class='notification'),
    Match(wm_class='splash'),
    Match(wm_class='toolbar'),
    Match(wm_class='confirmreset'),  # gitk
    Match(wm_class='makebranch'),  # gitk
    Match(wm_class='maketag'),  # gitk
    Match(wm_class='ssh-askpass'),  # ssh-askpass
    Match(title='branchdialog'),  # gitk
    Match(title='pinentry'),  # GPG key password entry
])
auto_fullscreen = True
focus_on_window_activation = "smart"

#@hook.subscribe.startup_once
#def start_once():
Ejemplo n.º 26
0
floating_layout = layout.Floating(float_rules=[
    # Run the utility of `xprop` to see the wm class and name of an X client.
    {
        "wmclass": "confirm"
    },
    {
        "wmclass": "dialog"
    },
    {
        "wmclass": "download"
    },
    {
        "wmclass": "error"
    },
    {
        "wmclass": "file_progress"
    },
    {
        "wmclass": "notification"
    },
    {
        "wmclass": "splash"
    },
    {
        "wmclass": "toolbar"
    },
    {
        "wmclass": "confirmreset"
    },  # gitk
    {
        "wmclass": "makebranch"
    },  # gitk
    {
        "wmclass": "maketag"
    },  # gitk
    {
        "wname": "branchdialog"
    },  # gitk
    {
        "wname": "pinentry"
    },  # GPG key password entry
    {
        "wmclass": "ssh-askpass"
    },  # ssh-askpass
])
Ejemplo n.º 27
0
dgroups_key_binder = None
dgroups_app_rules = []  # type: List
main = None  # WARNING: this is deprecated and will be removed soon
follow_mouse_focus = True
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating(float_rules=[
    # Run the utility of `xprop` to see the wm class and name of an X client.
    {'wmclass': 'confirm'},
    {'wmclass': 'dialog'},
    {'wmclass': 'download'},
    {'wmclass': 'error'},
    {'wmclass': 'file_progress'},
    {'wmclass': 'notification'},
    {'wmclass': 'splash'},
    {'wmclass': 'toolbar'},
    {'wmclass': 'confirmreset'},  # gitk
    {'wmclass': 'makebranch'},  # gitk
    {'wmclass': 'maketag'},  # gitk
    {'wname': 'branchdialog'},  # gitk
    {'wname': 'pinentry'},  # GPG key password entry
    {'wmclass': 'ssh-askpass'},  # ssh-askpass
])
auto_fullscreen = True
focus_on_window_activation = "smart"

# XXX: Gasp! We're lying here. In fact, nobody really uses or cares about this
# string besides java UI toolkits; you can see several discussions on the
# mailing lists, GitHub issues, and other WM documentation that suggest setting
# this string if your java app doesn't work correctly. We may as well just lie
Ejemplo n.º 28
0
                   section_fontsize=10,
                   border_width=2,
                   bg_color="1c1f24",
                   active_bg="c678dd",
                   active_fg="000000",
                   inactive_bg="a9a1e1",
                   inactive_fg="1c1f24",
                   padding_left=0,
                   padding_x=0,
                   padding_y=5,
                   section_top=10,
                   section_bottom=20,
                   level_shift=8,
                   vspace=3,
                   panel_width=200),
    layout.Floating(**layout_theme)
]

# COLORS FOR THE BAR

colors = [
    ["#282c34", "#282c34"],  # panel background
    ["#3d3f4b", "#434758"],  # background for current screen tab
    ["#ffffff", "#ffffff"],  # font color for group names
    ["#ff5555", "#ff5555"],  # border line color for current tab
    ["#74438f", "#74438f"
     ],  # border line color for 'other tabs' and color for 'odd widgets'
    ["#4f76c7", "#4f76c7"],  # color for the 'even widgets'
    ["#e1acff", "#e1acff"],  # window name
    ["#ecbbfb", "#ecbbfb"]
]  # backbround for inactive screens