Dotfiles config update (2022-04-24)
This commit is contained in:
parent
02aef82e9a
commit
879b3d2b4a
|
@ -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 = {
|
||||
|
|
|
@ -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 |
Loading…
Reference in New Issue
Block a user