mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
8 lines
369 B
Bash
8 lines
369 B
Bash
echo "Add Tmux binding (Super+Alt+Return) to hypr/bindings.conf"
|
|
|
|
bindings_file="$HOME/.config/hypr/bindings.conf"
|
|
|
|
if [[ -f $bindings_file ]] && ! grep -qE '^bindd?\s*=\s*SUPER\s+ALT\s*,\s*RETURN' "$bindings_file"; then
|
|
sed -i '1a bindd = SUPER ALT, RETURN, Tmux, exec, uwsm-app -- xdg-terminal-exec --dir="$(omarchy-cmd-terminal-cwd)" tmux new' "$bindings_file"
|
|
fi
|