diff --git a/config b/config index e20a5bc..cdfe0c1 100644 --- a/config +++ b/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 diff --git a/modules/storage b/modules/storage index 426bae0..6df2d27 100755 --- a/modules/storage +++ b/modules/storage @@ -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) {