diff --git a/configs/dolphinrc b/configs/dolphinrc new file mode 100644 index 0000000..c6286a9 --- /dev/null +++ b/configs/dolphinrc @@ -0,0 +1,2 @@ +[ContextMenu] +ShowOpenTerminal=false \ No newline at end of file diff --git a/configs/services-menu/open-ghostty-here.desktop b/configs/services-menu/open-ghostty-here.desktop index b53fb68..0385aca 100644 --- a/configs/services-menu/open-ghostty-here.desktop +++ b/configs/services-menu/open-ghostty-here.desktop @@ -6,5 +6,5 @@ Actions=RunGhosttyDir [Desktop Action RunGhosttyDir] Name=Open Ghostty here -Icon=ghostty -Exec=code %F \ No newline at end of file +Icon=com.mitchellh.ghostty +Exec=ghostty +new-window --working-directory="%F" \ No newline at end of file diff --git a/home/asakiyuki/modules/files.nix b/home/asakiyuki/modules/files.nix index 3646a66..95ef7f4 100644 --- a/home/asakiyuki/modules/files.nix +++ b/home/asakiyuki/modules/files.nix @@ -6,6 +6,11 @@ ".local/share/kio/servicemenus/open-with-code.desktop".source = ../../../configs/services-menu/open-with-code.desktop; ".local/share/kio/servicemenus/open-ghostty-here.desktop".source = ../../../configs/services-menu/open-ghostty-here.desktop; + + ".config/dolphinrc" = { + force = true; + source = ../../../configs/dolphinrc + }; }; xdg.configFile = {