mittags sprint
This commit is contained in:
27
README.md
27
README.md
@ -6,12 +6,12 @@ Install [i3 window manager](https://i3wm.org) alongside with [i3blocks](https://
|
||||
```
|
||||
module dependency
|
||||
--------------------------
|
||||
audio,mic amixer
|
||||
audio amixer
|
||||
battery none, searches in /sys/class/power_supply/BAT...
|
||||
cpu top
|
||||
datetime date
|
||||
ip curl
|
||||
ram,swap none, searches in /proc/meminfo
|
||||
ram none, searches in /proc/meminfo
|
||||
storage df
|
||||
backlight none, searches in /sys/class/backlight, intel and ati/amd supported
|
||||
```
|
||||
@ -21,23 +21,24 @@ backlight none, searches in /sys/class/backlight, intel and ati/amd supported
|
||||
```bash
|
||||
git clone https://will.kein.hk/git/koksnuss/simple-i3blocks.git ~/.config/i3blocks
|
||||
```
|
||||
- Adjust `~/.config/i3blocks/config` to control i3 status bar output (see [Usage](#usage)). Finally reload your `i3` window manager.
|
||||
- The default shortcut is `mod + SHIFT + r`, you should see a flickering.
|
||||
- Adjust `~/.config/i3blocks/config` to control i3 status bar output (see [Usage](#usage)).
|
||||
- Finally reload your `i3` window manager. The default shortcut is `mod + SHIFT + r`, you should see a flickering.
|
||||
|
||||
# Usage
|
||||
Via the instance id you can choose:
|
||||
- `instance=short` in every module provides even shorter output without units
|
||||
- `instance=swap` in the module `ram` to show swap usage
|
||||
- `instance=1` in the module `battery` to show the status of BAT1 of you have more than one battery attached to your device.
|
||||
# Usage
|
||||
- module *datetime*: A left click will toggle long and short displays. The short version is displayed in the format `HH:MM`. The long version also shows the day of the week, weeknumber, date and seconds.
|
||||
- module *audio*: `instance=mic` will show the microphone level instead. With a left mouse click the device is muted/unmuted.
|
||||
- module *ram*: by default free ram and swap are shown in the format `a+b G` where `a` is ram and `b` is swap. If you want to show ram and swap seperatly, use `instance=ram` or `instance=swap`. If you left click on the block, `top` will be openend.
|
||||
- *cpu*: by default total idle cpu time of all cores together is displayed. If you left click on the block, `top` will be openend.
|
||||
- module *battery*: by default the total left energy of all attached batteries is shown. If you want to display the batteries seperatly, use `instance=x` will show the status of BATx in case you have more than one battery attached to your device.
|
||||
|
||||
|
||||
# Roadmap
|
||||
|
||||
## Modules
|
||||
- [x] datetime
|
||||
- [x] ram, swap
|
||||
- [x] ram/swap
|
||||
- [x] cpu
|
||||
- [x] audio, mic
|
||||
- [x] audio/mic
|
||||
- [x] storage
|
||||
- [x] ip
|
||||
- [x] battery
|
||||
@ -47,8 +48,8 @@ Via the instance id you can choose:
|
||||
- [ ] ethernet bandwith
|
||||
|
||||
## Click interactions
|
||||
- [ ] datetime: left: show date, middle: show date and time, right: show time
|
||||
- [ ] audio, mic: toggle mute
|
||||
- [x] datetime: left: show date and seconds
|
||||
- [x] audio/mic: left: toggle mute
|
||||
- [ ] external storage: mount it somewhere
|
||||
|
||||
## Signals
|
||||
|
Reference in New Issue
Block a user