Skip to content

Commit 34ee3c6

Browse files
authored
Update icon.sh
1 parent 6c99367 commit 34ee3c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/icon.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22
file="/opt/GLFfetch/challenge.jsonc"
33
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')
4+
old_icon=$(grep key /opt/GLFfetch/challenge.jsonc | head -n 1 | cut -d ":" -f2 | tr -d \", | awk '{$1=$1};1')
5+
old_color=$(grep keyColor /opt/GLFfetch/challenge.jsonc | head -n 1 | cut -d ":" -f2 | tr -d \", | awk '{$1=$1};1')
66

77
case "$os" in
88
"arch")

0 commit comments

Comments
 (0)