From 008c7ba0548bd0ba1d73cb77b7f3b297d9b923fa Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 7 Mar 2026 14:10:22 +0900 Subject: modified bin/extractkeys --- ar/.local/bin/extractkeys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ar/.local/bin/extractkeys b/ar/.local/bin/extractkeys index 4e4e5b4..fc39a8d 100755 --- a/ar/.local/bin/extractkeys +++ b/ar/.local/bin/extractkeys @@ -45,7 +45,7 @@ for file_path in "${config_files[@]}"; do fi echo ".LI" >>"$temp_file_before" - awk 'BEGIN {flag=0} /static[[:space:]]+(const[[:space:]]+)?(Keychord|Shortcut)[[:space:]]+(*keychords|shortcuts)[[:space:]]*\[\][[:space:]]*=[[:space:]]*{/ {flag=1} /\};/ {flag=0} flag' "$file_path" | while read -r line; do + awk 'BEGIN {flag=0} /static[[:space:]]+(const[[:space:]]+)?(Keychord|Shortcut)[[:space:]]+(\*keychords|shortcuts)[[:space:]]*\[\][[:space:]]*=[[:space:]]*{/ {flag=1} /\};/ {flag=0} flag' "$file_path" | while read -r line; do if [[ "$line" =~ \/\*.*\*\/ || "$line" =~ .*\"\\.* || "$line" =~ ^$ || "$line" =~ STACKKEYS || "$line" =~ TAGKEYS || "$line" =~ static\ Keychord\ \*keychords || "$line" =~ static\ Shortcut\ \shortcuts || "$line" =~ ^\#.* ]]; then continue fi -- cgit v1.2.3