From f984333169b8e71d64cda31ccf724c8ef06d2d66 Mon Sep 17 00:00:00 2001
From: Nikolas De Giorgis <nikolas.degiorgis@gmail.com>
Date: Wed, 12 Jun 2024 09:58:52 +0100
Subject: [PATCH] Update i3blocks.conf

The current implementation does not work if the full name is composed by more than two words.
---
 user/i3blocks.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/user/i3blocks.conf b/user/i3blocks.conf
index 766fade2..bff69e8e 100644
--- a/user/i3blocks.conf
+++ b/user/i3blocks.conf
@@ -1,5 +1,5 @@
 [user]
 #label= # Install fontawesome for use this
 label=User: 
-command=lslogins | grep $USER | awk '{print $5,$NF}'
+command=lslogins | grep $USER | awk '{print substr($0,index($0,$5))}'
 interval=once