ghostty: devel desktop links only on laptop

This commit is contained in:
Daniel Lundin 2025-05-04 07:34:28 +02:00
parent b7f67c6223
commit ee7e6f767d
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 40 additions and 38 deletions

View file

@ -87,44 +87,6 @@
terminal = false; terminal = false;
type = "Application"; type = "Application";
}; };
ghostty-devel = {
categories = [
"System"
"TerminalEmulator"
];
exec = ''
ghostty --class=com.mitchellh.ghostty-devel --command="ssh -t devel" --initial-command="ssh -t devel"
'';
genericName = "Ghostty (devel)";
icon = "com.mitchellh.ghostty";
name = "Ghostty (devel)";
settings = {
StartupWMClass = "com.mitchellh.ghostty-devel";
TryExec = "ghostty";
};
terminal = false;
type = "Application";
};
ghostty-devel-secondary = {
categories = [
"System"
"TerminalEmulator"
];
exec = ''
ghostty --class=com.mitchellh.ghostty-devel-secondary --background-opacity=0.8 --font-style="ExtraCondensed" --font-style-bold="Bold ExtraCondensed" --font-style-italic="ExtraCondensed Oblique" --command="ssh -t devel" --initial-command="ssh -t devel"
'';
genericName = "Secondary Ghostty (devel)";
icon = "com.mitchellh.ghostty";
name = "Secondary Ghostty (devel)";
settings = {
StartupWMClass = "com.mitchellh.ghostty-devel-secondary";
TryExec = "ghostty";
};
terminal = false;
type = "Application";
};
}; };
}; };

View file

@ -23,4 +23,44 @@
enable = true; enable = true;
pinentryPackage = pkgs.pinentry-curses; pinentryPackage = pkgs.pinentry-curses;
}; };
xdg.desktopEntries = {
ghostty-devel = {
categories = [
"System"
"TerminalEmulator"
];
exec = ''
ghostty --class=com.mitchellh.ghostty-devel --command="ssh -t devel" --initial-command="ssh -t devel"
'';
genericName = "Ghostty (devel)";
icon = "com.mitchellh.ghostty";
name = "Ghostty (devel)";
settings = {
StartupWMClass = "com.mitchellh.ghostty-devel";
TryExec = "ghostty";
};
terminal = false;
type = "Application";
};
ghostty-devel-secondary = {
categories = [
"System"
"TerminalEmulator"
];
exec = ''
ghostty --class=com.mitchellh.ghostty-devel-secondary --background-opacity=0.8 --font-style="ExtraCondensed" --font-style-bold="Bold ExtraCondensed" --font-style-italic="ExtraCondensed Oblique" --command="ssh -t devel" --initial-command="ssh -t devel"
'';
genericName = "Secondary Ghostty (devel)";
icon = "com.mitchellh.ghostty";
name = "Secondary Ghostty (devel)";
settings = {
StartupWMClass = "com.mitchellh.ghostty-devel-secondary";
TryExec = "ghostty";
};
terminal = false;
type = "Application";
};
};
} }