ghostty: add desktop entries for secondary (condensed) terminals

This commit is contained in:
Daniel Lundin 2025-01-03 16:11:27 +01:00
parent 6dd68098e0
commit 4766311654
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -104,6 +104,25 @@
'';
xdg.desktopEntries = {
ghostty-secondary = {
categories = [
"System"
"TerminalEmulator"
];
exec = ''
ghostty --class=com.mitchellh.ghostty-secondary --font-style="ExtraCondensed" --font-style-bold="Bold ExtraCondensed" --font-style-italic="ExtraCondensed Oblique"
'';
genericName = "Ghostty Secondary";
icon = "com.mitchellh.ghostty";
name = "Ghostty (nemo)";
settings = {
StartupWMClass = "com.mitchellh.ghostty-secondary";
TryExec = "ghostty";
};
terminal = false;
type = "Application";
};
ghostty-nemo = {
categories = [
"System"
@ -122,6 +141,25 @@
terminal = false;
type = "Application";
};
ghostty-nemo-secondary = {
categories = [
"System"
"TerminalEmulator"
];
exec = ''
ghostty --class=com.mitchellh.ghostty-nemo-secondary --font-style="ExtraCondensed" --font-style-bold="Bold ExtraCondensed" --font-style-italic="ExtraCondensed Oblique" --command="ssh -t nemo" --initial-command="ssh -t nemo nvim-remote"
'';
genericName = "Ghostty Secondary (nemo)";
icon = "com.mitchellh.ghostty";
name = "Ghostty (nemo)";
settings = {
StartupWMClass = "com.mitchellh.ghostty-nemo-secondary";
TryExec = "ghostty";
};
terminal = false;
type = "Application";
};
};
};