diff --git a/bar.py b/bar.py index 2d7fb4f..1473a5e 100644 --- a/bar.py +++ b/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 ), ), ] diff --git a/config.py b/config.py index 3f8da69..3bf6a61 100644 --- a/config.py +++ b/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 diff --git a/layout.py b/layout.py index 165f060..334d82b 100644 --- a/layout.py +++ b/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( ] ) +