aboutsummaryrefslogtreecommitdiffstats
path: root/appearance
diff options
context:
space:
mode:
Diffstat (limited to 'appearance')
-rw-r--r--appearance/Hypridle.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/appearance/Hypridle.qml b/appearance/Hypridle.qml
index 38a3483..e265b88 100644
--- a/appearance/Hypridle.qml
+++ b/appearance/Hypridle.qml
@@ -150,6 +150,7 @@ listener {
FileView { id: confFile; path: root.confPath }
function save() {
+ if (root.prefix === "") return; // not loaded yet: writing would truncate the file
confFile.setText(root.serialize(root.prefix, root.listeners, root.tail));
Quickshell.execDetached(["sh", "-c", "pkill -x hypridle; setsid -f hypridle"]);
}