/i3blocks

Additional/custom blocks which fit my needs

Primary LanguageShellGNU General Public License v3.0GPL-3.0

i3blocks

This has become an incredible big collection of blocks in use with i3wm. It can also be an inspiration of how to do stuff in bash.

Requirements

All scripts are written in bash. Every script should be optimized for performance.

WARNING:

Some scripts (like display) also change your computers behaving! Please be very careful when you include those into your i3blocks.

Screenshots

audio bandwidth battery bluetooth brightness countdown cpu datetime display feed firewall ip-address keystate launcher load locale mail memory microphone network packages playerctl process space ssid user temperature usb trash scroll vpn weather webcam window keymap

Blocks

Audio

Example config:

[audio]
label=
interval=5

Bandwidth

Example config:

[bandwidth]
instance=wlp3s0;in
label=
interval=1

[bandwidth]
instance=wlp3s0;out
label=
interval=1

Battery

Example config:

[battery]
label=
instance=0
interval=5

Bluetooth

Example config:

[bluetooth]
label=
interval=10

Brightness

Example config:

[brightness]
label=
interval=5

Cmus

Example config:

[cmus]
command=~/.i3-blocks/blocks/scroll $BLOCK_NAME
label=
markup=pango
interval=repeat

Countdown

Example config:

[countdown]
instance=tomorrow 05:00:00
label=
interval=1

CPU

Example config:

[cpu]
label=
interval=2

Datetime

Example config:

[datetime]
label=
interval=5

Display

Example config:

[display]
label=
interval=5

Feed

Example config:

[feed]
instance=http://goo.gl/bR2hcp
label=
interval=60

Firewall

Example config:

[firewall]
label=
interval=10

IP-Address

Example config:

[ip-address]
label=
interval=60

Keymap

Example config:

[keymap]
label=
interval=10

Keystate

Example config:

[keystate]
label=
instance=caps
interval=1

[keystate]
label=
instance=num
interval=1

Launcher

Example config:

[launcher]
label=
interval=once

Load

Example config:

[load]
label=
interval=10

Locale

Example config:

[locale]
label=
interval=once

Mail

Example config:

[mail]
label=
instance=~/.gmx-private
interval=60

Memory

Example config:

[memory]
label=
instance=mem;free
interval=30

[memory]
label=
instance=swap;total
interval=30

Microphone

Example config:

[microphone]
label=
interval=5

Network

Example config:

[network]
label=
instance=enp4s0f2
interval=10

[network]
label=
instance=wlp3s0
interval=10

Notifier

Example config:

[cmus]
command=~/.i3-blocks/blocks/notifier $BLOCK_NAME
label=
markup=pango
interval=repeat

Packages

Example config:

[packages]
label=
interval=300

Playerctl

Example config:

[playerctl]
label=
instance=rhythmbox
interval=5

Process

Example config:

[process]
instance=http
label=
interval=10

Scroll

Example config:

[cmus]
command=~/.i3-blocks/blocks/scroll $BLOCK_NAME
label=
markup=pango
interval=repeat

Space

Example config:

[space]
label=
interval=30

[space]
label=
instance=/pub
interval=30

SSID

Example config:

[ssid]
label=
interval=60

Temperature

Example config:

[temperature]
instance=Core
label=
interval=5

Trash

Example config:

[trash]
label=
interval=10

USB

Example config:

[usb]
instance=PhotoSmart
label=
interval=10

User

Example config:

[user]
label=
interval=once

VPN

Example config:

[vpn]
label=
interval=5

Weather

Example config:

[weather]
instance=2643743
interval=60

Webcam

Example config:

[webcam]
label=
interval=5

Window

Example config:

[window]
command=~/.i3-blocks/blocks/scroll $BLOCK_NAME
label=
markup=pango
interval=repeat

Authors

Anachron ([https://github.com/Anachron](github profile))