ghostty: devel desktop links only on laptop
This commit is contained in:
parent
b7f67c6223
commit
ee7e6f767d
2 changed files with 40 additions and 38 deletions
home
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue