diff --git a/.config/qtile/settings/widgets.py b/.config/qtile/settings/widgets.py index a46be4e..5f5d887 100644 --- a/.config/qtile/settings/widgets.py +++ b/.config/qtile/settings/widgets.py @@ -22,16 +22,14 @@ def icon(fg='text', bg='dark', fontsize=16, text="?"): padding=3 ) - def powerline(fg="light", bg="dark"): return widget.TextBox( **base(fg, bg), text="", # Icon: nf-oct-triangle_left fontsize=37, - padding=-2 + padding=-2.1 ) - def workspaces(): return [ separator(), @@ -111,17 +109,19 @@ secondary_widgets = [ separator(), - powerline('color1', 'dark'), + powerline('color2', 'dark'), - widget.CurrentLayoutIcon(**base(bg='color1'), scale=0.65), + widget.CurrentLayoutIcon(**base(bg='color2'), scale=0.65), - widget.CurrentLayout(**base(bg='color1'), padding=5), + widget.CurrentLayout(**base(bg='color2'), padding=5), - powerline('color2', 'color1'), + powerline('color1', 'color2'), - widget.Clock(**base(bg='color2'), format='%d/%m/%Y - %H:%M '), + icon(bg="color1", fontsize=17, text=' '), # Icon: nf-mdi-calendar_clock - powerline('dark', 'color2'), + widget.Clock(**base(bg='color1'), format='%d/%m/%Y - %H:%M '), + + powerline('dark', 'color1'), ] widget_defaults = { diff --git a/.config/qtile/themes/README.md b/.config/qtile/themes/README.md deleted file mode 100644 index 545527c..0000000 --- a/.config/qtile/themes/README.md +++ /dev/null @@ -1,56 +0,0 @@ -A theme consists of a simple json file. You can create your own by copying this -json object and changing values: - -```json -{ - "dark": [ - "#0f101a", - "#0f101a" - ], - "grey": [ - "#353c4a", - "#353c4a" - ], - "light": [ - "#f1ffff", - "#f1ffff" - ], - "text": [ - "#0f101a", - "#0f101a" - ], - "focus": [ - "#a151d3", - "#a151d3" - ], - "active": [ - "#f1ffff", - "#f1ffff" - ], - "inactive": [ - "#4c566a", - "#4c566a" - ], - "urgent": [ - "#F07178", - "#F07178" - ], - "color1": [ - "#a151d3", - "#a151d3" - ], - "color2": [ - "#F07178", - "#F07178" - ], - "color3": [ - "#fb9f7f", - "#fb9f7f" - ], - "color4": [ - "#ffd47e", - "#ffd47e" - ] -} - -``` diff --git a/examples/qtile.png b/examples/qtile.png index fef0646..3dccbc5 100644 Binary files a/examples/qtile.png and b/examples/qtile.png differ