add demo images

This commit is contained in:
koksnuss 2018-05-16 19:39:22 +02:00
parent 8a9de5630a
commit 0025770b77
5 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,6 @@
# simple-i3blocks
![demo0](https://will.kein.hk/git/koksnuss/simple-i3blocks/raw/master/demo-full-0.png)
![demo1](https://will.kein.hk/git/koksnuss/simple-i3blocks/raw/master/demo-full-1.png)
This is a simple collection of i3blocks-modules accompagnied by a config file with the aim to display only important information in favor of not spilling lots of numbers into the status bar. I.e. only the amount of left RAM is displayed as this is - in my point of view - the most important information we like to know most of the times.
# Requirements

9
config
View File

@ -5,8 +5,8 @@ separator=false
command=$HOME/.config/i3blocks/modules/$BLOCK_NAME
interval=5
# [backlight]
# label=☼
[backlight]
label=☼
# label=☀,☼,✱,✲,✳,✴,✵,✺
[storage]
@ -24,9 +24,9 @@ label=⚟
[cpu]
label=☷
# [ip]
[ip]
# label=ip
# label=⎋
label=⎋
# interval=once
# if you have more than one batteries attached to your device and ou like
@ -57,3 +57,4 @@ label=◎
instance=mic
[datetime]
# instance=long

BIN
demo-full-0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
demo-full-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@ -3,7 +3,7 @@
FULL=$(date '+%A %-d.%-m.%Y W%V, %-H:%M:%S')
SHORT=$(date '+%-H:%M')
[[ "$BLOCK_INSTANCE" == "short" ]] && export I3_LONG_DATETIME=false
[[ "$BLOCK_INSTANCE" == "long" ]] && export I3_LONG_DATETIME=true
if [[ "$BLOCK_BUTTON" == "1" ]]; then
if [[ "$I3_LONG_DATETIME" == "true" ]]; then