diff --git a/home/common/ghostty.nix b/home/common/ghostty.nix index f2283cb..fea939a 100644 --- a/home/common/ghostty.nix +++ b/home/common/ghostty.nix @@ -87,44 +87,6 @@ terminal = false; 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"; - }; }; }; diff --git a/home/dln/dinky.nix b/home/dln/dinky.nix index 9b9e955..333d785 100644 --- a/home/dln/dinky.nix +++ b/home/dln/dinky.nix @@ -23,4 +23,44 @@ enable = true; 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"; + }; + }; }