style | example |
---|---|
angles | |
powerline | |
rounded | |
simple | |
solid |
a lightweight i3blocks implementation with stylised blocks and visual OK
WARN
NOK
alerting on returned values
alsa-utils
nvidia
pulseaudio
volume
wifi
memory
cpu load
gpu
time
- update your i3 config to start the bar with the new i3blocks configuration file:
bar { status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf }
- clone or download this repo into
~/.config/i3blocks
, and get the default fonts
sudo pacman -S python-psutil ttf-font-awesome ttf-inconsolata-nerd
cd ~/.config
git clone https://github.com/mikeredev/i3blocks.git
chmod +x control
i3-msg restart
1 volume
2 ethernet
3 wifi
$BLOCK_BUTTON
allows for the following mouse events:
1: left-click
2: middle-click
3: right-click
4: mouse wheel up
5: mouse wheel down
- define
warning
andcritical
thresholds directly ini3blocks.conf
, e.g.:
[load]
command="$HOME"/.config/i3blocks/control --check load --warning 0.7 --critical 1.0
[gpu]
command="$HOME"/.config/i3blocks/control --check $BLOCK_NAME --warning 70 --critical 80
- store new modules in the
blocks
directory - the control script will call its
i3blocks_check(warning, critical)
function
- colors/fonts/glyphs can be defined in
i3blocks.conf
- config files for i3, dunst, etc., may be found in dotfiles repo
- any custom scripts attached here can probably be found in dotfiles/scripts/tools/
- i3blocks documentation
- vivien/i3blocks