summaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-29 12:51:04 -0500
committerMarc Coquand <marc@mccd.space>2024-05-29 12:51:04 -0500
commitc2fcd44b6a64ec7fd44f364a64396f680babbf8d (patch)
treeb7d0b5902d682985392991ae430ef9fef2431e03 /local
parent3b42452a37117bace208a2085980e7c1b79b3738 (diff)
downloadrcm-c2fcd44b6a64ec7fd44f364a64396f680babbf8d.tar.gz
rcm-c2fcd44b6a64ec7fd44f364a64396f680babbf8d.tar.bz2
rcm-c2fcd44b6a64ec7fd44f364a64396f680babbf8d.zip
Updates
Diffstat (limited to '')
-rwxr-xr-xlocal/bin/pfetch8
1 files changed, 4 insertions, 4 deletions
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() {