[UPDATE][I3] Change i3blocks config for new laptop

You need to install `i3blocks-contrib-git` from the AUR to use the
blocklets in this configuration.

For some reason I needed to add spaces to every label to have them
diplay correctly. I also updated the `keyindicator` blockelts to use
pango markup.

I removed the bandwith blocklet which I don't particularly like.
This commit is contained in:
Bruno BELANYI 2019-09-23 04:44:56 +02:00
parent 1cda690abc
commit 5c2f708374

View file

@ -24,7 +24,7 @@
# #
# The top properties below are applied to every block, but can be overridden. # The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate. # Each block command defaults to the script name to avoid boilerplate.
command=/usr/lib/i3blocks/$BLOCK_NAME command=/usr/lib/i3blocks/$BLOCK_NAME/$BLOCK_NAME
separator_block_width=10 separator_block_width=10
markup=none markup=none
@ -37,6 +37,7 @@ markup=none
[keyindicator] [keyindicator]
instance=CAPS instance=CAPS
interval=once interval=once
markup=pango
signal=11 signal=11
separator_block_width=5 separator_block_width=5
separator=false separator=false
@ -44,6 +45,7 @@ separator=false
#[keyindicator] #[keyindicator]
#instance=NUM #instance=NUM
#interval=once #interval=once
#markup=pango
#signal=11 #signal=11
#separator_block_width=5 #separator_block_width=5
#separator=false #separator=false
@ -53,7 +55,8 @@ separator=false
# This displays "ARTIST - SONG" if a music is playing. # This displays "ARTIST - SONG" if a music is playing.
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
[mediaplayer] [mediaplayer]
label=♪: label=♪
instance=spotify
interval=5 interval=5
signal=10 signal=10
@ -62,7 +65,7 @@ signal=10
# The script may be called with -w and -c switches to specify thresholds, # The script may be called with -w and -c switches to specify thresholds,
# see the script for details. # see the script for details.
[cpu_usage] [cpu_usage]
label=CPU label=CPU
interval=10 interval=10
#[load_average] #[load_average]
@ -74,7 +77,7 @@ interval=10
# The script may be called with a optional argument to set the alert # The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%). # (defaults to 10 for 10%).
[disk] [disk]
label=DISK label=DISK
interval=30 interval=30
# Network interface monitoring # Network interface monitoring
@ -89,17 +92,15 @@ separator_block_width=5
[wifi] [wifi]
interval=10 interval=10
instance=wlp0s20f3
separator=false separator=false
[bandwidth]
interval=5
# Battery indicator # Battery indicator
# #
# The battery instance defaults to 0. # The battery instance defaults to 0.
[battery] [battery]
label=⚡ label=⚡
command=acpi #command=acpi
instance=0 instance=0
interval=30 interval=30
markup=pango markup=pango
@ -122,7 +123,7 @@ interval=5
# The script may be called with -w and -c switches to specify thresholds, # The script may be called with -w and -c switches to specify thresholds,
# see the script for details. # see the script for details.
[temperature] [temperature]
label=TEMP label=TEMP
interval=10 interval=10
# Volume indicator # Volume indicator
@ -132,7 +133,7 @@ interval=10
# See the script for details. # See the script for details.
[volume] [volume]
#label=VOL #label=VOL
label=♪ label=♪
instance=Master instance=Master
interval=once interval=once
signal=10 signal=10