From 04761d1675c9b1855ab6d14e61bb93a34f8db269 Mon Sep 17 00:00:00 2001
From: Nikolay Bely <belyynikolay@gmail.com>
Date: Thu, 6 Mar 2025 07:11:11 +0700
Subject: [PATCH] ALWAYS_LEAVE_TO_TRAY: Update README.md

---
 README.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/README.md b/README.md
index 736cf3e..4a1328b 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,7 @@ Native YandexMusic client for Linux. Built using repacking of Windows client (El
     - [Custom Electron binary](#custom-electron-binary)
     - [Electron arguments](#electron-arguments)
     - [Tray mode](#tray-mode)
+    - [Always leave to tray](#always-leave-to-tray)
     - [Dev tools](#dev-tools)
     - [Custom title bar](#custom-title-bar)
     - [Vibe animation FPS control](#vibe-animation-fps-control)
@@ -150,6 +151,12 @@ Tray mode is disabled by default. It allows program to be minimized to tray inst
 
 ***
 
+### Always leave to tray
+
+By default, if the TRAY_ENABLED option is enabled, then if the player is paused, the application will close instead of minimizing to the system tray. The `ALWAYS_LEAVE_TO_TRAY=1` option changes this behavior.
+
+***
+
 ### Dev tools
 
 Chromium developer/debug tools can be enabled by setting `DEV_TOOLS` option to `1`.