Yambar inicial
This commit is contained in:
commit
f2a27b0ec7
1 changed files with 167 additions and 0 deletions
167
.config/yambar/config.yml
Normal file
167
.config/yambar/config.yml
Normal file
|
@ -0,0 +1,167 @@
|
||||||
|
awesome: &awesome Font Awesome 5 Free:style=solid:pixelsize=14
|
||||||
|
awesome_brands: &awesome_brands Font Awesome 5 Brands:pixelsize=16
|
||||||
|
|
||||||
|
bar:
|
||||||
|
location: bottom
|
||||||
|
height: 24
|
||||||
|
spacing: 8
|
||||||
|
margin: 7
|
||||||
|
background: 28282800
|
||||||
|
foreground: ebdbb2ff
|
||||||
|
|
||||||
|
font: Iosevka SS14:style=Medium Extended:pixelsize=12
|
||||||
|
|
||||||
|
# left:
|
||||||
|
# - river:
|
||||||
|
# content:
|
||||||
|
# map:
|
||||||
|
# tag: occupied
|
||||||
|
# values:
|
||||||
|
# true:
|
||||||
|
# map:
|
||||||
|
# tag: focused
|
||||||
|
# values:
|
||||||
|
# true:
|
||||||
|
# - string:
|
||||||
|
# text: "{id}"
|
||||||
|
# font: Iosevka SS14:style=Extrabold Extended:pixelsize=12
|
||||||
|
# right-margin: 12
|
||||||
|
# false:
|
||||||
|
# - string:
|
||||||
|
# text: "{id}"
|
||||||
|
# right-margin: 12
|
||||||
|
# left:
|
||||||
|
# - river:
|
||||||
|
# anchors:
|
||||||
|
# - base: &river_base
|
||||||
|
# margin: 5
|
||||||
|
# tag: id
|
||||||
|
# default: {string: {text: , font: *awesome}}
|
||||||
|
# values:
|
||||||
|
# 1: {string: {text: , font: *awesome}}
|
||||||
|
# 2: {string: {text: , font: *awesome}}
|
||||||
|
# 3: {string: {text: , font: *awesome}}
|
||||||
|
# 4: {string: {text: , font: *awesome}}
|
||||||
|
# 5: {string: {text: , font: *awesome_brands}}
|
||||||
|
# 6: {string: {text: , font: *awesome}}
|
||||||
|
|
||||||
|
# content:
|
||||||
|
# map:
|
||||||
|
# tag: state
|
||||||
|
# values:
|
||||||
|
# focused:
|
||||||
|
# map:
|
||||||
|
# <<: *river_base
|
||||||
|
# deco: {stack: [background: {color: 504945ff}, underline: {size: 2, color: d3869bff}]}
|
||||||
|
# unfocused: {map: {<<: *river_base}}
|
||||||
|
# invisible:
|
||||||
|
# map:
|
||||||
|
# tag: occupied
|
||||||
|
# values:
|
||||||
|
# false: {empty: {}}
|
||||||
|
# true: {map: {<<: *river_base, foreground: ffffff4c}}
|
||||||
|
# map:
|
||||||
|
# tag: title
|
||||||
|
# default: {string: {text: "{title}", left-margin: 10}}
|
||||||
|
# values: {"": {empty: {}}}
|
||||||
|
right:
|
||||||
|
- alsa:
|
||||||
|
card: pulse
|
||||||
|
mixer: Master
|
||||||
|
content:
|
||||||
|
map:
|
||||||
|
on-click: /bin/sh -c "pamixer --toggle-mute"
|
||||||
|
tag: muted
|
||||||
|
values:
|
||||||
|
true: {string: {text: , font: *awesome, foreground: bdae93ff}}
|
||||||
|
false:
|
||||||
|
ramp:
|
||||||
|
tag: volume
|
||||||
|
items:
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- battery:
|
||||||
|
name: BAT0
|
||||||
|
poll-interval: 30
|
||||||
|
content:
|
||||||
|
map:
|
||||||
|
tag: state
|
||||||
|
values:
|
||||||
|
discharging:
|
||||||
|
- ramp:
|
||||||
|
tag: capacity
|
||||||
|
items:
|
||||||
|
- string: {text: , foreground: a89984ff, font: *awesome}
|
||||||
|
- string: {text: , foreground: ffa600ff, font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , font: *awesome}
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: " {capacity}% {estimate}"}
|
||||||
|
charging:
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: " {capacity}% {estimate}"}
|
||||||
|
full:
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: " {capacity}% full"}
|
||||||
|
not charging:
|
||||||
|
- ramp:
|
||||||
|
tag: capacity
|
||||||
|
items:
|
||||||
|
- string: {text: , foreground: a89984ff, font: *awesome}
|
||||||
|
- string: {text: , foreground: ffa600ff, font: *awesome}
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: , foreground: b8bb26ff, font: *awesome}
|
||||||
|
- string: {text: " {capacity}%"}
|
||||||
|
|
||||||
|
- network:
|
||||||
|
name: eth0
|
||||||
|
content:
|
||||||
|
map:
|
||||||
|
tag: carrier
|
||||||
|
default: {empty: {}}
|
||||||
|
values:
|
||||||
|
true:
|
||||||
|
map:
|
||||||
|
tag: state
|
||||||
|
default: {string: {text: , font: *awesome, foreground: bdae93ff}}
|
||||||
|
values:
|
||||||
|
up:
|
||||||
|
map:
|
||||||
|
tag: ipv4
|
||||||
|
default: {string: {text: , font: *awesome}}
|
||||||
|
values:
|
||||||
|
"": {string: {text: , font: *awesome, foreground: bdae93ff}}
|
||||||
|
- network:
|
||||||
|
name: wlan0
|
||||||
|
content:
|
||||||
|
map:
|
||||||
|
tag: state
|
||||||
|
default: {string: {text: , font: *awesome, foreground: bdae93ff}}
|
||||||
|
values:
|
||||||
|
down: {string: {text: , font: *awesome, foreground: a89984ff}}
|
||||||
|
up:
|
||||||
|
map:
|
||||||
|
tag: ipv4
|
||||||
|
default: {string: {text: , font: *awesome}}
|
||||||
|
values:
|
||||||
|
"": {string: {text: , font: *awesome, foreground: bdae93ff}}
|
||||||
|
- clock:
|
||||||
|
content:
|
||||||
|
- string: {text: , font: "Font Awesome 5 Free:style=solid:size=12"}
|
||||||
|
- string: {text: " {date}", right-margin: 12}
|
||||||
|
- string: {text: , font: "Font Awesome 5 Free:style=solid:size=12"}
|
||||||
|
- string: {text: " {time}"}
|
Loading…
Reference in a new issue