aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/sxhkd/scripts/keybindings.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/sxhkd/scripts/keybindings.sh')
-rwxr-xr-xmodules/desktop/sxhkd/scripts/keybindings.sh7
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