borders
This commit is contained in:
parent
c03536718c
commit
95f328e2f7
12
bar.py
12
bar.py
@ -15,9 +15,9 @@ screens = [
|
||||
wallpaper='~/.config/qtile/wallpapers/theater.jpg',
|
||||
wallpaper_mode='fill',
|
||||
|
||||
# left=bar.Gap(5),
|
||||
# right=bar.Gap(5),
|
||||
# bottom=bar.Gap(5),
|
||||
left=bar.Gap(5),
|
||||
right=bar.Gap(5),
|
||||
bottom=bar.Gap(5),
|
||||
top=bar.Bar(
|
||||
[
|
||||
# widget.CurrentLayout(),
|
||||
@ -41,9 +41,9 @@ screens = [
|
||||
widget.Clock(format="%Y-%m-%d %a %H:%M"),
|
||||
],
|
||||
30,
|
||||
margin=[3,6,6,6],
|
||||
border_width=[0, 0, 0, 0],
|
||||
# border_color=["ff00ff", "000000", "ff00ff", "000000"] # Borders are magenta
|
||||
margin=[6,6,6,6],
|
||||
border_width=[1, 1, 1, 1],
|
||||
border_color=["ffffff", "ffffff", "ffffff","ffffff"] # Borders are white
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
63
config.py
63
config.py
@ -5,7 +5,7 @@ from libqtile import hook
|
||||
|
||||
from bar import *
|
||||
from keys import *
|
||||
from layout import *
|
||||
# from layout import *
|
||||
|
||||
import subprocess
|
||||
import os
|
||||
@ -90,21 +90,28 @@ for i in groups:
|
||||
|
||||
|
||||
|
||||
#layouts = [
|
||||
# layout.Columns(border_focus_stack=["#d75f5f", "#8f3d3d"], border_width=4),
|
||||
# # layout.Max(),
|
||||
# # Try more layouts by unleashing below layouts.
|
||||
# # layout.Stack(num_stacks=2),
|
||||
# # layout.Bsp(),
|
||||
# # layout.Matrix(),
|
||||
# # layout.MonadTall(),
|
||||
# # layout.MonadWide(),
|
||||
# # layout.RatioTile(),
|
||||
# # layout.Tile(),
|
||||
# # layout.TreeTab(),
|
||||
# # layout.VerticalTile(),
|
||||
# # layout.Zoomy(),
|
||||
#]
|
||||
layouts = [
|
||||
layout.Columns(
|
||||
border_focus=["#ffffff"],
|
||||
border_normal=["000000"],
|
||||
border_on_single=["ffffff"],
|
||||
single_border_width=2,
|
||||
border_width=2,
|
||||
),
|
||||
|
||||
#layout.Max( ),
|
||||
# Try more layouts by unleashing below layouts.
|
||||
# layout.Stack(num_stacks=2),
|
||||
# layout.Bsp(),
|
||||
# layout.Matrix(),
|
||||
# layout.MonadTall(),
|
||||
# layout.MonadWide(),
|
||||
# layout.RatioTile(),
|
||||
# layout.Tile(),
|
||||
# layout.TreeTab(),
|
||||
# layout.VerticalTile(),
|
||||
# layout.Zoomy(),
|
||||
]
|
||||
|
||||
# TODO this is theroetycli duplicate
|
||||
widget_defaults = dict(
|
||||
@ -156,18 +163,18 @@ 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
|
||||
# ]
|
||||
#)
|
||||
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
|
||||
|
||||
15
layout.py
15
layout.py
@ -1,11 +1,17 @@
|
||||
from libqtile import layout
|
||||
from libqtile.config import Match
|
||||
|
||||
layouts = [
|
||||
layout.Columns(),
|
||||
# layout.Max(),
|
||||
]
|
||||
|
||||
layouts = [
|
||||
layout.Columns(
|
||||
border_focus_stack=["#ffffff", "#000000"],
|
||||
border_width=4,
|
||||
),
|
||||
layout.Max(
|
||||
border_width=4,
|
||||
border_focus=["ffffff", "ffffff", "ffffff", "ffffff"]
|
||||
),
|
||||
]
|
||||
|
||||
floating_layout = layout.Floating(
|
||||
float_rules=[
|
||||
@ -20,3 +26,4 @@ floating_layout = layout.Floating(
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user