From 1daac57e979c200d5cca3952c07c2ab522d3b265 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 23 Jul 2019 10:53:10 +0200 Subject: [PATCH] Use bash syntax --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index c2ac8c22..a22bacca 100755 --- a/neofetch +++ b/neofetch @@ -1560,9 +1560,10 @@ get_de() { ;; esac - if [ "$KDE_SESSION_VERSION" -ge "4" ]; then + if (( "$KDE_SESSION_VERSION" >= "4" )); then de="${de/KDE/Plasma}" fi + # Log that the function was run. de_run=1 }