diff --git a/README.md b/README.md index d948732..bc738f9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/config b/config index cdfe0c1..15d1efc 100644 --- a/config +++ b/config @@ -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 diff --git a/demo-full-0.png b/demo-full-0.png new file mode 100644 index 0000000..b638839 Binary files /dev/null and b/demo-full-0.png differ diff --git a/demo-full-1.png b/demo-full-1.png new file mode 100644 index 0000000..be578c2 Binary files /dev/null and b/demo-full-1.png differ diff --git a/modules/datetime b/modules/datetime index 123f62c..408ca93 100755 --- a/modules/datetime +++ b/modules/datetime @@ -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