From c2fcd44b6a64ec7fd44f364a64396f680babbf8d Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Wed, 29 May 2024 12:51:04 -0500 Subject: Updates --- local/bin/pfetch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'local/bin/pfetch') diff --git a/local/bin/pfetch b/local/bin/pfetch index 772cb70..4dbc80f 100755 --- a/local/bin/pfetch +++ b/local/bin/pfetch @@ -1017,7 +1017,7 @@ get_wm() { # # To extract the name, everything before '_NET_WM_NAME = \"' # is removed and everything after the next '"' is removed. - wm=$(xprop -id "$id" -notype -len 25 -f _NET_WM_NAME 8t) + wm=$(xprop -id "$id" -notype -len 7 -f _NET_WM_NAME 8t) } # Handle cases of a window manager _not_ populating the @@ -1051,7 +1051,7 @@ get_wm() { ;; esac - log wm "$(echo $wm | tr '[:upper:]' '[:lower:]')" >&6 + log wm "hikari" >&6 } @@ -1067,7 +1067,7 @@ get_de() { get_shell() { # Display the basename of the '$SHELL' environment variable. - log shell "${SHELL##*/}" >&6 + log sh "${SHELL##*/}" >&6 } get_editor() { @@ -1075,7 +1075,7 @@ get_editor() { # value of '$EDITOR'. editor=${VISUAL:-"$EDITOR"} - log editor "${editor##*/}" >&6 + log ed "${editor##*/}" >&6 } get_palette() { -- cgit v1.2.3