Made keybindings menu a little more human readable (#1824)

Co-authored-by: Lucas Goossen <lucas.goossen@hey.com>
This commit is contained in:
Lucas Goossen
2025-10-04 12:53:55 -03:00
committed by GitHub
parent e0f16b9098
commit 4283533858
5 changed files with 79 additions and 66 deletions

View File

@@ -1,5 +1,5 @@
echo "Use current terminal shell cwd for new terminal working directories"
if ! grep -q "working-directory" ~/.config/hypr/bindings.conf; then
sed -i '/bindd = SUPER, return, Terminal, exec, \$terminal/ s|$| --working-directory=$(omarchy-cmd-terminal-cwd)|' ~/.config/hypr/bindings.conf
sed -i '/bindd = SUPER, RETURN, Terminal, exec, \$terminal/ s|$| --working-directory=$(omarchy-cmd-terminal-cwd)|' ~/.config/hypr/bindings.conf
fi