ghostty: use hardcoded session names in tmux

This commit is contained in:
Daniel Lundin 2024-12-01 23:19:47 +01:00
parent dc126a49d6
commit c94ce60795
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -121,7 +121,7 @@
"System" "System"
"TerminalEmulator" "TerminalEmulator"
]; ];
exec = ''ghostty --class=com.mitchellh.ghostty-local -e "tmux new-session -A -s main"''; exec = ''ghostty --class=com.mitchellh.ghostty-local -e "tmux new-session -A -D -s main -t main"'';
genericName = "Ghostty (local)"; genericName = "Ghostty (local)";
icon = "com.mitchellh.ghostty"; icon = "com.mitchellh.ghostty";
name = "Ghostty (local)"; name = "Ghostty (local)";
@ -138,7 +138,7 @@
"System" "System"
"TerminalEmulator" "TerminalEmulator"
]; ];
exec = ''ghostty --class=com.mitchellh.ghostty-local-secondary -e "tmux new-session -A -s secondary -t main"''; exec = ''ghostty --class=com.mitchellh.ghostty-local-secondary -e "tmux new-session -A -D -s secondary -t main"'';
genericName = "Ghostty (local) Secondary"; genericName = "Ghostty (local) Secondary";
icon = "com.mitchellh.ghostty"; icon = "com.mitchellh.ghostty";
name = "Ghostty (local) Secondary"; name = "Ghostty (local) Secondary";
@ -155,7 +155,7 @@
"System" "System"
"TerminalEmulator" "TerminalEmulator"
]; ];
exec = ''ghostty --class=com.mitchellh.ghostty-nemo -e "ssh -t nemo tmux new-session -A -s main"''; exec = ''ghostty --class=com.mitchellh.ghostty-nemo -e "ssh -t nemo tmux new-session -A -D -s main -t main"'';
genericName = "Ghostty (nemo)"; genericName = "Ghostty (nemo)";
icon = "com.mitchellh.ghostty"; icon = "com.mitchellh.ghostty";
name = "Ghostty (nemo)"; name = "Ghostty (nemo)";