From 9ed7cd87a89ab8f0f4b2b51fb8b4dd1ee64e46bf Mon Sep 17 00:00:00 2001 From: Sheikh Date: Fri, 17 Nov 2023 10:18:10 -0400 Subject: [PATCH] =?UTF-8?q?refactor:=20consistent=20=E2=80=9Ccut=E2=80=9D?= =?UTF-8?q?=20syntax?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cutefetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cutefetch b/cutefetch index 5f7c897..bb48f40 100755 --- a/cutefetch +++ b/cutefetch @@ -147,7 +147,7 @@ init() { case "$(uname -s)" in Linux*) readonly wm="$(xprop -id $(xprop -root -notype | awk '$1=="_NET_SUPPORTING_WM_CHECK:"{print $5}') -notype -f _NET_WM_NAME 8t | grep -m 1 "WM_NAME" | cut -f2 -d \")" - readonly kern="$(uname -r | cut -d '-' -f1)" + readonly kern="$(uname -r | cut -f1 -d '-')" readonly shell=$(basename $SHELL) readonly res="$(xdpyinfo | grep 'dimensions' | grep -oE '[0-9]+x[0-9]+' | head -n 1)" readonly net="$(nmcli -g common | grep -m 1 connected | cut -f4- -d ' ')"