We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c99367 commit 34ee3c6Copy full SHA for 34ee3c6
scripts/icon.sh
@@ -1,8 +1,8 @@
1
#!/bin/bash
2
file="/opt/GLFfetch/challenge.jsonc"
3
os=$(grep ^ID= /etc/os-release | cut -d "=" -f 2 | tr -d \")
4
-old_icon=$(grep key "$HOME"/.config/fastfetch/GLFfetch/challenge.jsonc | head -n 1 | cut -d ":" -f2 | tr -d \", | awk '{$1=$1};1')
5
-old_color=$(grep keyColor "$HOME"/.config/fastfetch/GLFfetch/challenge.jsonc | head -n 1 | cut -d ":" -f2 | tr -d \", | awk '{$1=$1};1')
+old_icon=$(grep key /opt/GLFfetch/challenge.jsonc | head -n 1 | cut -d ":" -f2 | tr -d \", | awk '{$1=$1};1')
+old_color=$(grep keyColor /opt/GLFfetch/challenge.jsonc | head -n 1 | cut -d ":" -f2 | tr -d \", | awk '{$1=$1};1')
6
7
case "$os" in
8
"arch")
0 commit comments