Remove duplicates and sort

This commit is contained in:
David Heinemeier Hansson
2025-07-10 18:48:51 -07:00
parent b3b4c06175
commit 29f1810c91

View File

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