cleanup reamde, bugfix in storage module padding
This commit is contained in:
parent
a529bdff01
commit
8a9de5630a
23
config
23
config
@ -5,13 +5,11 @@ separator=false
|
||||
command=$HOME/.config/i3blocks/modules/$BLOCK_NAME
|
||||
interval=5
|
||||
|
||||
[backlight]
|
||||
# label=backlight
|
||||
label=☼
|
||||
# [backlight]
|
||||
# label=☼
|
||||
# label=☀,☼,✱,✲,✳,✴,✵,✺
|
||||
|
||||
[storage]
|
||||
# label=storage
|
||||
label=⛁
|
||||
# label=⛀,⛁,⛂,⛃
|
||||
|
||||
@ -19,21 +17,17 @@ label=⛁
|
||||
# with instance=ram or instance=swap
|
||||
[ram]
|
||||
label=⚟
|
||||
# label=ram
|
||||
# instance=ram
|
||||
# [ram]
|
||||
# label=swap
|
||||
# instance=swap
|
||||
# separator_block_width=0
|
||||
|
||||
[cpu]
|
||||
label=☷
|
||||
# label=cpu
|
||||
|
||||
[ip]
|
||||
# [ip]
|
||||
# label=ip
|
||||
label=⎋
|
||||
interval=once
|
||||
# label=⎋
|
||||
# interval=once
|
||||
|
||||
# if you have more than one batteries attached to your device and ou like
|
||||
# to see the single state of BATx where x is the number of your battery in
|
||||
@ -52,19 +46,14 @@ interval=once
|
||||
# ▏⟠, ⟰, ⟱, ⟲, ⟳, ⤋, ⤊,
|
||||
# [battery]
|
||||
# instance=1
|
||||
# separator_block_width=0
|
||||
|
||||
[audio]
|
||||
# label=audio
|
||||
label=◍
|
||||
# label=♩,♪,♫,♬
|
||||
separator_block_width=0
|
||||
[audio]
|
||||
# label=mic
|
||||
label=◎
|
||||
#label=⋓ℹ⋒ⅈ
|
||||
# label=⋓ℹ⋒ⅈ
|
||||
instance=mic
|
||||
|
||||
[datetime]
|
||||
label=
|
||||
# instance=short
|
||||
|
@ -10,10 +10,10 @@ df | gawk '
|
||||
printf("full\n")
|
||||
exit 33
|
||||
} else if (sfg > 5) {
|
||||
printf("%.1f G \n", sfg)
|
||||
printf("%.1f G\n", sfg)
|
||||
printf("%dG\n", sfg)
|
||||
} else {
|
||||
printf("%.0f M \n", sfm)
|
||||
printf("%.0f M\n", sfm)
|
||||
printf("%dG\n", sfm)
|
||||
}
|
||||
if (sfg > 20) {
|
||||
|
Reference in New Issue
Block a user