diff options
Diffstat (limited to 'modules/desktop/sxhkd/scripts/keybindings.sh')
| -rwxr-xr-x | modules/desktop/sxhkd/scripts/keybindings.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/desktop/sxhkd/scripts/keybindings.sh b/modules/desktop/sxhkd/scripts/keybindings.sh index 01bb05f..1548f1c 100755 --- a/modules/desktop/sxhkd/scripts/keybindings.sh +++ b/modules/desktop/sxhkd/scripts/keybindings.sh @@ -36,13 +36,12 @@ border_line="├$(printf '%.0s─' $(seq 1 $max_keybinding_length))┼$(printf ' # Print table header with borders echo "┌$(printf '%.0s─' $(seq 1 $max_keybinding_length))┬$(printf '%.0s─' $(seq 1 $description_width))┐" printf "│ %-*s │ %-*s │\n" "$max_keybinding_content_length" "KEYBINDING" "$description_content_width" "DESCRIPTION" - - # Initialize variables + description="" - + # Load the sxhkd file into an array mapfile -t lines < "$SXHKD_FILE" - + # Loop through lines for output for line in "${lines[@]}"; do # Check if the line is a comment |
