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='~/.config/qtile/wallpapers/theater.jpg',
|
||||||
wallpaper_mode='fill',
|
wallpaper_mode='fill',
|
||||||
|
|
||||||
# left=bar.Gap(5),
|
left=bar.Gap(5),
|
||||||
# right=bar.Gap(5),
|
right=bar.Gap(5),
|
||||||
# bottom=bar.Gap(5),
|
bottom=bar.Gap(5),
|
||||||
top=bar.Bar(
|
top=bar.Bar(
|
||||||
[
|
[
|
||||||
# widget.CurrentLayout(),
|
# widget.CurrentLayout(),
|
||||||
@ -41,9 +41,9 @@ screens = [
|
|||||||
widget.Clock(format="%Y-%m-%d %a %H:%M"),
|
widget.Clock(format="%Y-%m-%d %a %H:%M"),
|
||||||
],
|
],
|
||||||
30,
|
30,
|
||||||
margin=[3,6,6,6],
|
margin=[6,6,6,6],
|
||||||
border_width=[0, 0, 0, 0],
|
border_width=[1, 1, 1, 1],
|
||||||
# border_color=["ff00ff", "000000", "ff00ff", "000000"] # Borders are magenta
|
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 bar import *
|
||||||
from keys import *
|
from keys import *
|
||||||
from layout import *
|
# from layout import *
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import os
|
import os
|
||||||
@ -90,21 +90,28 @@ for i in groups:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#layouts = [
|
layouts = [
|
||||||
# layout.Columns(border_focus_stack=["#d75f5f", "#8f3d3d"], border_width=4),
|
layout.Columns(
|
||||||
# # layout.Max(),
|
border_focus=["#ffffff"],
|
||||||
# # Try more layouts by unleashing below layouts.
|
border_normal=["000000"],
|
||||||
# # layout.Stack(num_stacks=2),
|
border_on_single=["ffffff"],
|
||||||
# # layout.Bsp(),
|
single_border_width=2,
|
||||||
# # layout.Matrix(),
|
border_width=2,
|
||||||
# # layout.MonadTall(),
|
),
|
||||||
# # layout.MonadWide(),
|
|
||||||
# # layout.RatioTile(),
|
#layout.Max( ),
|
||||||
# # layout.Tile(),
|
# Try more layouts by unleashing below layouts.
|
||||||
# # layout.TreeTab(),
|
# layout.Stack(num_stacks=2),
|
||||||
# # layout.VerticalTile(),
|
# layout.Bsp(),
|
||||||
# # layout.Zoomy(),
|
# layout.Matrix(),
|
||||||
#]
|
# layout.MonadTall(),
|
||||||
|
# layout.MonadWide(),
|
||||||
|
# layout.RatioTile(),
|
||||||
|
# layout.Tile(),
|
||||||
|
# layout.TreeTab(),
|
||||||
|
# layout.VerticalTile(),
|
||||||
|
# layout.Zoomy(),
|
||||||
|
]
|
||||||
|
|
||||||
# TODO this is theroetycli duplicate
|
# TODO this is theroetycli duplicate
|
||||||
widget_defaults = dict(
|
widget_defaults = dict(
|
||||||
@ -156,18 +163,18 @@ bring_front_click = False
|
|||||||
cursor_warp = False
|
cursor_warp = False
|
||||||
|
|
||||||
|
|
||||||
#floating_layout = layout.Floating(
|
floating_layout = layout.Floating(
|
||||||
# float_rules=[
|
float_rules=[
|
||||||
# # Run the utility of `xprop` to see the wm class and name of an X client.
|
# Run the utility of `xprop` to see the wm class and name of an X client.
|
||||||
# *layout.Floating.default_float_rules,
|
*layout.Floating.default_float_rules,
|
||||||
# Match(wm_class="confirmreset"), # gitk
|
Match(wm_class="confirmreset"), # gitk
|
||||||
# Match(wm_class="makebranch"), # gitk
|
Match(wm_class="makebranch"), # gitk
|
||||||
# Match(wm_class="maketag"), # gitk
|
Match(wm_class="maketag"), # gitk
|
||||||
# Match(wm_class="ssh-askpass"), # ssh-askpass
|
Match(wm_class="ssh-askpass"), # ssh-askpass
|
||||||
# Match(title="branchdialog"), # gitk
|
Match(title="branchdialog"), # gitk
|
||||||
# Match(title="pinentry"), # GPG key password entry
|
Match(title="pinentry"), # GPG key password entry
|
||||||
# ]
|
]
|
||||||
#)
|
)
|
||||||
|
|
||||||
|
|
||||||
auto_fullscreen = True
|
auto_fullscreen = True
|
||||||
|
|||||||
15
layout.py
15
layout.py
@ -1,11 +1,17 @@
|
|||||||
from libqtile import layout
|
from libqtile import layout
|
||||||
from libqtile.config import Match
|
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(
|
floating_layout = layout.Floating(
|
||||||
float_rules=[
|
float_rules=[
|
||||||
@ -20,3 +26,4 @@ floating_layout = layout.Floating(
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user