summaryrefslogtreecommitdiff
path: root/local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin')
-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() {