[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
@ -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