void-packages/srcpkgs/chatty/patches/config_dir.patch

12 lines
570 B
Diff

--- a/src/chatty/Chatty.java
+++ b/src/chatty/Chatty.java
@@ -212,7 +212,7 @@ public class Chatty {
// Paths
//--------------------------
public enum PathType {
- SETTINGS(() -> Paths.get(System.getProperty("user.home"), ".chatty"), null),
+ SETTINGS(() -> Paths.get(System.getProperty("user.home"), ".config/chatty"), null),
WORKING(() -> Paths.get(System.getProperty("user.dir")), null),
BACKUP(() -> getUserDataDirectory().resolve("backup"), null),
IMAGE(() -> getWorkingDirectory().resolve("img"), "imgPath"),