diff --git a/README.md b/README.md index 9652e19..45c3fb0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # simple-i3blocks -This is a simple collection of `i3blocks`-scripts and 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. +This is a simple collection of i3blocks-modules accomagnied 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 Install `i3` and `i3blocks`. The following shows the requirements for each module: diff --git a/config b/config index f59034e..1b602a2 100644 --- a/config +++ b/config @@ -2,7 +2,7 @@ markup=none separator_block_width=15 separator=false -command=$HOME/.config/i3blocks/$BLOCK_NAME +command=$HOME/.config/i3blocks/modules/$BLOCK_NAME interval=5 [backlight] diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..f09b2c5 --- /dev/null +++ b/install.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +echo "Installing i3blocks..." +git clone https://will.kein.hk/git/koksnuss/simple-i3blocks.git ~/.config/i3blocks +cd ~/.config/i3blocks +chmod u+x audio backlight battery cpu datetime ip mic ram storage +echo "Finished, please reload i3. Normally you can do this with the shortcut MOD+SHIFT+R"" diff --git a/audio b/modules/audio similarity index 100% rename from audio rename to modules/audio diff --git a/backlight b/modules/backlight similarity index 100% rename from backlight rename to modules/backlight diff --git a/battery b/modules/battery similarity index 100% rename from battery rename to modules/battery diff --git a/cpu b/modules/cpu similarity index 100% rename from cpu rename to modules/cpu diff --git a/datetime b/modules/datetime similarity index 100% rename from datetime rename to modules/datetime diff --git a/ip b/modules/ip similarity index 100% rename from ip rename to modules/ip diff --git a/mic b/modules/mic similarity index 100% rename from mic rename to modules/mic diff --git a/ram b/modules/ram similarity index 100% rename from ram rename to modules/ram diff --git a/storage b/modules/storage similarity index 100% rename from storage rename to modules/storage