summaryrefslogtreecommitdiff
path: root/local/bin/pfetch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlocal/bin/pfetch6
1 files changed, 3 insertions, 3 deletions
diff --git a/local/bin/pfetch b/local/bin/pfetch
index 924d690..e3d6df0 100755
--- a/local/bin/pfetch
+++ b/local/bin/pfetch
@@ -245,8 +245,8 @@ get_os() {
# the file contents as plain-text.
while IFS='=' read -r key val; do
case $key in
- (PRETTY_NAME)
- distro=$val
+ (NAME)
+ distro="$(echo $val | tr '[:upper:]' '[:lower:]')"
;;
esac
done < /etc/os-release
@@ -1051,7 +1051,7 @@ get_wm() {
;;
esac
- log wm "hikari" >&6
+ log wm "sway" >&6
}