rename nemo -> devel for ghostty+ssh

This commit is contained in:
Daniel Lundin 2025-01-03 19:40:03 +01:00
parent 09694db337
commit 9ca1072e00
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 13 additions and 13 deletions

View file

@ -114,7 +114,7 @@
''; '';
genericName = "Ghostty Secondary"; genericName = "Ghostty Secondary";
icon = "com.mitchellh.ghostty"; icon = "com.mitchellh.ghostty";
name = "Ghostty (nemo)"; name = "Ghostty (devel)";
settings = { settings = {
StartupWMClass = "com.mitchellh.ghostty-secondary"; StartupWMClass = "com.mitchellh.ghostty-secondary";
TryExec = "ghostty"; TryExec = "ghostty";
@ -123,38 +123,38 @@
type = "Application"; type = "Application";
}; };
ghostty-nemo = { ghostty-devel = {
categories = [ categories = [
"System" "System"
"TerminalEmulator" "TerminalEmulator"
]; ];
exec = '' exec = ''
ghostty --class=com.mitchellh.ghostty-nemo --command="ssh -t nemo" --initial-command="ssh -t nemo nvim-remote" ghostty --class=com.mitchellh.ghostty-devel --command="ssh -t devel" --initial-command="ssh -t devel nvim-remote"
''; '';
genericName = "Ghostty (nemo)"; genericName = "Ghostty (devel)";
icon = "com.mitchellh.ghostty"; icon = "com.mitchellh.ghostty";
name = "Ghostty (nemo)"; name = "Ghostty (devel)";
settings = { settings = {
StartupWMClass = "com.mitchellh.ghostty-nemo"; StartupWMClass = "com.mitchellh.ghostty-devel";
TryExec = "ghostty"; TryExec = "ghostty";
}; };
terminal = false; terminal = false;
type = "Application"; type = "Application";
}; };
ghostty-nemo-secondary = { ghostty-devel-secondary = {
categories = [ categories = [
"System" "System"
"TerminalEmulator" "TerminalEmulator"
]; ];
exec = '' 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" ghostty --class=com.mitchellh.ghostty-devel-secondary --font-style="ExtraCondensed" --font-style-bold="Bold ExtraCondensed" --font-style-italic="ExtraCondensed Oblique" --command="ssh -t devel" --initial-command="ssh -t devel nvim-remote"
''; '';
genericName = "Ghostty Secondary (nemo)"; genericName = "Ghostty Secondary (devel)";
icon = "com.mitchellh.ghostty"; icon = "com.mitchellh.ghostty";
name = "Ghostty (nemo)"; name = "Ghostty (devel)";
settings = { settings = {
StartupWMClass = "com.mitchellh.ghostty-nemo-secondary"; StartupWMClass = "com.mitchellh.ghostty-devel-secondary";
TryExec = "ghostty"; TryExec = "ghostty";
}; };
terminal = false; terminal = false;

View file

@ -164,12 +164,12 @@ in
''; '';
programs.ssh.matchBlocks = { programs.ssh.matchBlocks = {
dev = { dev-old = {
hostname = "10.1.100.16"; hostname = "10.1.100.16";
forwardAgent = true; forwardAgent = true;
}; };
nemo = { devel = {
hostname = "10.1.100.20"; hostname = "10.1.100.20";
forwardAgent = true; forwardAgent = true;
localForwards = [ localForwards = [