aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-09-07 16:02:55 -0500
committerJesús <heckyel@hyperbola.info>2021-09-07 16:02:55 -0500
commitcd3136280e71a881b44bd5eea0b3b5bdbaaf0fdc (patch)
treebb61865ba8b66bd30714da886260bb92f116bf1e /scripts
parentcdcf20bd57d4fdd84dfdf496557e39489ec1dfa9 (diff)
downloadi3-config-cd3136280e71a881b44bd5eea0b3b5bdbaaf0fdc.tar.lz
i3-config-cd3136280e71a881b44bd5eea0b3b5bdbaaf0fdc.tar.xz
i3-config-cd3136280e71a881b44bd5eea0b3b5bdbaaf0fdc.zip
fix SC2086
https://github.com/koalaman/shellcheck/wiki/SC2086
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/i3blocks/memory2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/i3blocks/memory b/scripts/i3blocks/memory
index e28af4e..6b36de8 100755
--- a/scripts/i3blocks/memory
+++ b/scripts/i3blocks/memory
@@ -16,7 +16,7 @@
TYPE="${BLOCK_INSTANCE:-mem}"
-awk -v type=$TYPE '
+awk -v type="$TYPE" '
/^MemTotal:/ {
mem_total=$2
}