Dotfiles config update (2022-04-24)

This commit is contained in:
q3aql 2022-04-24 12:24:01 +02:00
parent 02aef82e9a
commit 879b3d2b4a
3 changed files with 9 additions and 65 deletions

View File

@ -22,16 +22,14 @@ def icon(fg='text', bg='dark', fontsize=16, text="?"):
padding=3 padding=3
) )
def powerline(fg="light", bg="dark"): def powerline(fg="light", bg="dark"):
return widget.TextBox( return widget.TextBox(
**base(fg, bg), **base(fg, bg),
text="", # Icon: nf-oct-triangle_left text="", # Icon: nf-oct-triangle_left
fontsize=37, fontsize=37,
padding=-2 padding=-2.1
) )
def workspaces(): def workspaces():
return [ return [
separator(), separator(),
@ -111,17 +109,19 @@ secondary_widgets = [
separator(), 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 = { widget_defaults = {

View File

@ -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"
]
}
```

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 KiB

After

Width:  |  Height:  |  Size: 403 KiB