diff --git a/bin/omarchy-show-keybindings b/bin/omarchy-show-keybindings index 126ede8..6124355 100755 --- a/bin/omarchy-show-keybindings +++ b/bin/omarchy-show-keybindings @@ -22,6 +22,9 @@ $HOME/.local/share/omarchy/default/hypr/media.conf" # - It prints everything in a nicely aligned format. # 4. The final `sed` cleans up any leftover commas from the end of lines. grep -h '^[[:space:]]*bind' $USER_HYPRLAND_CONF $OMARCHY_BINDINGS_CONF | + sed 's/#.*//' | + sed '/^[[:space:]]*$/d' | + sort -u | awk -F, ' { # Strip trailing comments