From 96b645ba081568b17dfa39833faa4185d03466a0 Mon Sep 17 00:00:00 2001 From: funtohard Date: Mon, 8 Sep 2025 21:35:31 +0530 Subject: [PATCH 1/3] Convert config documentation from Markdown to HTML - Replace config.md with config.html for better web presentation - Add comprehensive configuration documentation with examples - Include professional styling with responsive design - Add interactive navigation and smooth scrolling - Provide detailed explanations for all TranslucentTB settings - Include troubleshooting section and best practices --- config.html | 674 ++++++++++++++++++++++++++++++++++++++++++++++++++++ config.md | 3 - 2 files changed, 674 insertions(+), 3 deletions(-) create mode 100644 config.html delete mode 100644 config.md diff --git a/config.html b/config.html new file mode 100644 index 0000000..60dbb59 --- /dev/null +++ b/config.html @@ -0,0 +1,674 @@ + + + + + + TranslucentTB Configuration Documentation + + + +
+
+

TranslucentTB Configuration

+

Complete guide to customizing your Windows taskbar transparency

+
+
+ + + +
+
+
+

Overview

+

TranslucentTB uses a JSON configuration file to customize the appearance and behavior of the Windows taskbar. This document explains all available configuration options and their usage.

+ +
+

Configuration File Location

+

The configuration file should be saved as settings.json in the TranslucentTB application directory or user data folder.

+
+ +
+

Schema Reference

+

The configuration follows the JSON schema available at: https://TranslucentTB.github.io/settings.schema.json

+
+
+ +
+

Configuration Structure

+
{
+  "$schema": "https://TranslucentTB.github.io/settings.schema.json",
+  "desktop_appearance": { ... },
+  "visible_window_appearance": { ... },
+  "maximized_window_appearance": { ... },
+  "start_opened_appearance": { ... },
+  "search_opened_appearance": { ... },
+  "task_view_opened_appearance": { ... },
+  "battery_saver_appearance": { ... },
+  "ignored_windows": { ... },
+  "hide_tray": false,
+  "disable_saving": false,
+  "verbosity": "warn",
+  "language": "en-US",
+  "use_xaml_context_menu": false
+}
+
+ +
+

Appearance Settings

+

All appearance configurations support the following properties:

+ +

Basic Properties

+ +
+ accent (string): The accent/transparency effect to apply +
    +
  • "normal": Windows default appearance
  • +
  • "opaque": Solid, non-transparent taskbar
  • +
  • "clear": Fully transparent taskbar
  • +
  • "blur": Blurred transparency effect
  • +
  • "acrylic": Windows 10/11 acrylic material effect
  • +
+
+ +
+ color (string): Custom color in hexadecimal format +
    +
  • Format: #RRGGBB or #RRGGBBAA (with alpha channel)
  • +
  • Example: "#00000000" (fully transparent black)
  • +
+
+ +
+ show_peek (boolean): Enable/disable desktop peek functionality +
    +
  • true: Show desktop peek
  • +
  • false: Disable desktop peek
  • +
+
+ +
+ show_line (boolean): Show/hide the taskbar accent line +
    +
  • true: Display accent line
  • +
  • false: Hide accent line
  • +
+
+ +
+ blur_radius (number): Blur effect intensity (when using blur accent) +
    +
  • Range: Typically 0.0 to 50.0
  • +
  • Example: 9.0
  • +
+
+
+ +
+

Appearance Modes

+ +
+

1. Desktop Appearance

+

Applied when no windows are open or focused.

+
"desktop_appearance": {
+  "accent": "clear",
+  "color": "#00000000",
+  "show_peek": false,
+  "show_line": false,
+  "blur_radius": 9.0
+}
+
+ +
+

2. Visible Window Appearance

+

Applied when windows are visible but not maximized.

+
"visible_window_appearance": {
+  "enabled": false,
+  "accent": "clear",
+  "color": "#00000000",
+  "show_peek": true,
+  "show_line": false,
+  "blur_radius": 9.0,
+  "rules": {
+    "window_class": {},
+    "window_title": {},
+    "process_name": {}
+  }
+}
+
+ +
+

3. Maximized Window Appearance

+

Applied when a window is maximized.

+
"maximized_window_appearance": {
+  "enabled": true,
+  "accent": "clear",
+  "color": "#00000000",
+  "show_peek": true,
+  "show_line": false,
+  "blur_radius": 9.0,
+  "rules": {
+    "window_class": {},
+    "window_title": {},
+    "process_name": {}
+  }
+}
+
+ +
+

4. Start Menu Opened Appearance

+

Applied when the Start menu is open.

+
"start_opened_appearance": {
+  "enabled": false,
+  "accent": "normal",
+  "color": "#00000000",
+  "show_peek": true,
+  "show_line": true,
+  "blur_radius": 9.0
+}
+
+ +
+

5. Search Opened Appearance

+

Applied when Windows Search is open.

+
"search_opened_appearance": {
+  "enabled": true,
+  "accent": "normal",
+  "color": "#00000000",
+  "show_peek": true,
+  "show_line": true,
+  "blur_radius": 9.0
+}
+
+ +
+

6. Task View Opened Appearance

+

Applied when Task View (Alt+Tab) is open.

+
"task_view_opened_appearance": {
+  "enabled": true,
+  "accent": "normal",
+  "color": "#00000000",
+  "show_peek": false,
+  "show_line": true,
+  "blur_radius": 9.0
+}
+
+ +
+

7. Battery Saver Appearance

+

Applied when Windows Battery Saver mode is active.

+
"battery_saver_appearance": {
+  "enabled": true,
+  "accent": "clear",
+  "color": "#00000000",
+  "show_peek": true,
+  "show_line": false,
+  "blur_radius": 9.0
+}
+
+
+ +
+

Window Rules

+

For visible_window_appearance and maximized_window_appearance, you can define specific rules based on:

+ +

Rule Types

+
    +
  • window_class: Target specific window classes
  • +
  • window_title: Target windows by title
  • +
  • process_name: Target specific applications by process name
  • +
+ +

Rule Structure

+
"rules": {
+  "process_name": {
+    "notepad.exe": {
+      "accent": "blur",
+      "color": "#FF000080",
+      "show_peek": false,
+      "show_line": true,
+      "blur_radius": 15.0,
+      "inactive": {
+        "accent": "clear",
+        "color": "#00000000",
+        "show_peek": true,
+        "show_line": false
+      }
+    }
+  }
+}
+

The inactive property defines the appearance when the targeted window is not focused.

+ +

Ignored Windows

+

Configure windows that should be ignored by TranslucentTB:

+
"ignored_windows": {
+  "window_class": ["ClassName1", "ClassName2"],
+  "window_title": ["Window Title 1", "Window Title 2"],
+  "process_name": ["process1.exe", "process2.exe"]
+}
+
+ +
+

Global Settings

+ +

System Integration

+
+ hide_tray (boolean): Hide the system tray area +
    +
  • true: Hide tray
  • +
  • false: Show tray (default)
  • +
+
+ +
+ disable_saving (boolean): Prevent saving configuration changes +
    +
  • true: Disable automatic saving
  • +
  • false: Enable automatic saving (default)
  • +
+
+ +

Localization

+
+ language (string): Set application language +
    +
  • Format: "en-US", "de-DE", etc.
  • +
  • Must follow ISO 639-1 language code format
  • +
+
+ +

Interface Options

+
+ use_xaml_context_menu (boolean): Use modern context menu style +
    +
  • true: Use XAML-based context menu
  • +
  • false: Use classic context menu
  • +
+
+ +

Logging

+
+ verbosity (string): Set logging level +
    +
  • "trace": Most verbose logging
  • +
  • "debug": Debug information
  • +
  • "info": General information
  • +
  • "warn": Warnings only (default)
  • +
  • "err": Errors only
  • +
  • "critical": Critical errors only
  • +
  • "off": No logging
  • +
+
+
+ +
+

Example Configurations

+ +
+
+

Fully Transparent Desktop

+
{
+  "$schema": "https://TranslucentTB.github.io/settings.schema.json",
+  "desktop_appearance": {
+    "accent": "clear",
+    "color": "#00000000",
+    "show_peek": false,
+    "show_line": false
+  }
+}
+
+ +
+

Blur Effect with Custom Color

+
{
+  "$schema": "https://TranslucentTB.github.io/settings.schema.json",
+  "desktop_appearance": {
+    "accent": "blur",
+    "color": "#1E1E1E80",
+    "show_peek": true,
+    "show_line": true,
+    "blur_radius": 15.0
+  }
+}
+
+ +
+

Application-Specific Rules

+
{
+  "$schema": "https://TranslucentTB.github.io/settings.schema.json",
+  "maximized_window_appearance": {
+    "enabled": true,
+    "accent": "normal",
+    "rules": {
+      "process_name": {
+        "chrome.exe": {
+          "accent": "acrylic",
+          "color": "#000000AA",
+          "show_line": true
+        },
+        "notepad.exe": {
+          "accent": "clear",
+          "show_peek": false
+        }
+      }
+    }
+  }
+}
+
+
+
+ +
+

Tips and Best Practices

+
    +
  1. Start Simple: Begin with basic appearance settings before adding complex rules
  2. +
  3. Test Changes: Use different applications to test your configuration
  4. +
  5. Backup Configuration: Keep a backup of working configurations
  6. +
  7. Performance: Complex rules with many blur effects may impact system performance
  8. +
  9. Color Format: Always use proper hexadecimal color format with alpha channel for transparency
  10. +
+
+ +
+

Troubleshooting

+
    +
  • Configuration not loading: Check JSON syntax and schema validation
  • +
  • Rules not working: Verify process names and window classes using tools like Spy++
  • +
  • Performance issues: Reduce blur_radius values or disable complex effects
  • +
  • Color not applying: Ensure proper hex color format with alpha channel
  • +
+
+
+
+ + + + + + \ No newline at end of file diff --git a/config.md b/config.md deleted file mode 100644 index 063e943..0000000 --- a/config.md +++ /dev/null @@ -1,3 +0,0 @@ -# TranslucentTB Config documentation - -TODO: write documentation \ No newline at end of file From 678c9da6e9a6307b13c108f88dab14cf72f1aef7 Mon Sep 17 00:00:00 2001 From: funtohard Date: Tue, 9 Sep 2025 09:08:44 +0530 Subject: [PATCH 2/3] Revert to Markdown format for consistency - Remove config.html and restore config.md. - Follow project consistency guidelines --- config.html | 674 ---------------------------------------------------- config.md | 455 +++++++++++++++++++++++++++++++++++ 2 files changed, 455 insertions(+), 674 deletions(-) delete mode 100644 config.html create mode 100644 config.md diff --git a/config.html b/config.html deleted file mode 100644 index 60dbb59..0000000 --- a/config.html +++ /dev/null @@ -1,674 +0,0 @@ - - - - - - TranslucentTB Configuration Documentation - - - -
-
-

TranslucentTB Configuration

-

Complete guide to customizing your Windows taskbar transparency

-
-
- - - -
-
-
-

Overview

-

TranslucentTB uses a JSON configuration file to customize the appearance and behavior of the Windows taskbar. This document explains all available configuration options and their usage.

- -
-

Configuration File Location

-

The configuration file should be saved as settings.json in the TranslucentTB application directory or user data folder.

-
- -
-

Schema Reference

-

The configuration follows the JSON schema available at: https://TranslucentTB.github.io/settings.schema.json

-
-
- -
-

Configuration Structure

-
{
-  "$schema": "https://TranslucentTB.github.io/settings.schema.json",
-  "desktop_appearance": { ... },
-  "visible_window_appearance": { ... },
-  "maximized_window_appearance": { ... },
-  "start_opened_appearance": { ... },
-  "search_opened_appearance": { ... },
-  "task_view_opened_appearance": { ... },
-  "battery_saver_appearance": { ... },
-  "ignored_windows": { ... },
-  "hide_tray": false,
-  "disable_saving": false,
-  "verbosity": "warn",
-  "language": "en-US",
-  "use_xaml_context_menu": false
-}
-
- -
-

Appearance Settings

-

All appearance configurations support the following properties:

- -

Basic Properties

- -
- accent (string): The accent/transparency effect to apply -
    -
  • "normal": Windows default appearance
  • -
  • "opaque": Solid, non-transparent taskbar
  • -
  • "clear": Fully transparent taskbar
  • -
  • "blur": Blurred transparency effect
  • -
  • "acrylic": Windows 10/11 acrylic material effect
  • -
-
- -
- color (string): Custom color in hexadecimal format -
    -
  • Format: #RRGGBB or #RRGGBBAA (with alpha channel)
  • -
  • Example: "#00000000" (fully transparent black)
  • -
-
- -
- show_peek (boolean): Enable/disable desktop peek functionality -
    -
  • true: Show desktop peek
  • -
  • false: Disable desktop peek
  • -
-
- -
- show_line (boolean): Show/hide the taskbar accent line -
    -
  • true: Display accent line
  • -
  • false: Hide accent line
  • -
-
- -
- blur_radius (number): Blur effect intensity (when using blur accent) -
    -
  • Range: Typically 0.0 to 50.0
  • -
  • Example: 9.0
  • -
-
-
- -
-

Appearance Modes

- -
-

1. Desktop Appearance

-

Applied when no windows are open or focused.

-
"desktop_appearance": {
-  "accent": "clear",
-  "color": "#00000000",
-  "show_peek": false,
-  "show_line": false,
-  "blur_radius": 9.0
-}
-
- -
-

2. Visible Window Appearance

-

Applied when windows are visible but not maximized.

-
"visible_window_appearance": {
-  "enabled": false,
-  "accent": "clear",
-  "color": "#00000000",
-  "show_peek": true,
-  "show_line": false,
-  "blur_radius": 9.0,
-  "rules": {
-    "window_class": {},
-    "window_title": {},
-    "process_name": {}
-  }
-}
-
- -
-

3. Maximized Window Appearance

-

Applied when a window is maximized.

-
"maximized_window_appearance": {
-  "enabled": true,
-  "accent": "clear",
-  "color": "#00000000",
-  "show_peek": true,
-  "show_line": false,
-  "blur_radius": 9.0,
-  "rules": {
-    "window_class": {},
-    "window_title": {},
-    "process_name": {}
-  }
-}
-
- -
-

4. Start Menu Opened Appearance

-

Applied when the Start menu is open.

-
"start_opened_appearance": {
-  "enabled": false,
-  "accent": "normal",
-  "color": "#00000000",
-  "show_peek": true,
-  "show_line": true,
-  "blur_radius": 9.0
-}
-
- -
-

5. Search Opened Appearance

-

Applied when Windows Search is open.

-
"search_opened_appearance": {
-  "enabled": true,
-  "accent": "normal",
-  "color": "#00000000",
-  "show_peek": true,
-  "show_line": true,
-  "blur_radius": 9.0
-}
-
- -
-

6. Task View Opened Appearance

-

Applied when Task View (Alt+Tab) is open.

-
"task_view_opened_appearance": {
-  "enabled": true,
-  "accent": "normal",
-  "color": "#00000000",
-  "show_peek": false,
-  "show_line": true,
-  "blur_radius": 9.0
-}
-
- -
-

7. Battery Saver Appearance

-

Applied when Windows Battery Saver mode is active.

-
"battery_saver_appearance": {
-  "enabled": true,
-  "accent": "clear",
-  "color": "#00000000",
-  "show_peek": true,
-  "show_line": false,
-  "blur_radius": 9.0
-}
-
-
- -
-

Window Rules

-

For visible_window_appearance and maximized_window_appearance, you can define specific rules based on:

- -

Rule Types

-
    -
  • window_class: Target specific window classes
  • -
  • window_title: Target windows by title
  • -
  • process_name: Target specific applications by process name
  • -
- -

Rule Structure

-
"rules": {
-  "process_name": {
-    "notepad.exe": {
-      "accent": "blur",
-      "color": "#FF000080",
-      "show_peek": false,
-      "show_line": true,
-      "blur_radius": 15.0,
-      "inactive": {
-        "accent": "clear",
-        "color": "#00000000",
-        "show_peek": true,
-        "show_line": false
-      }
-    }
-  }
-}
-

The inactive property defines the appearance when the targeted window is not focused.

- -

Ignored Windows

-

Configure windows that should be ignored by TranslucentTB:

-
"ignored_windows": {
-  "window_class": ["ClassName1", "ClassName2"],
-  "window_title": ["Window Title 1", "Window Title 2"],
-  "process_name": ["process1.exe", "process2.exe"]
-}
-
- -
-

Global Settings

- -

System Integration

-
- hide_tray (boolean): Hide the system tray area -
    -
  • true: Hide tray
  • -
  • false: Show tray (default)
  • -
-
- -
- disable_saving (boolean): Prevent saving configuration changes -
    -
  • true: Disable automatic saving
  • -
  • false: Enable automatic saving (default)
  • -
-
- -

Localization

-
- language (string): Set application language -
    -
  • Format: "en-US", "de-DE", etc.
  • -
  • Must follow ISO 639-1 language code format
  • -
-
- -

Interface Options

-
- use_xaml_context_menu (boolean): Use modern context menu style -
    -
  • true: Use XAML-based context menu
  • -
  • false: Use classic context menu
  • -
-
- -

Logging

-
- verbosity (string): Set logging level -
    -
  • "trace": Most verbose logging
  • -
  • "debug": Debug information
  • -
  • "info": General information
  • -
  • "warn": Warnings only (default)
  • -
  • "err": Errors only
  • -
  • "critical": Critical errors only
  • -
  • "off": No logging
  • -
-
-
- -
-

Example Configurations

- -
-
-

Fully Transparent Desktop

-
{
-  "$schema": "https://TranslucentTB.github.io/settings.schema.json",
-  "desktop_appearance": {
-    "accent": "clear",
-    "color": "#00000000",
-    "show_peek": false,
-    "show_line": false
-  }
-}
-
- -
-

Blur Effect with Custom Color

-
{
-  "$schema": "https://TranslucentTB.github.io/settings.schema.json",
-  "desktop_appearance": {
-    "accent": "blur",
-    "color": "#1E1E1E80",
-    "show_peek": true,
-    "show_line": true,
-    "blur_radius": 15.0
-  }
-}
-
- -
-

Application-Specific Rules

-
{
-  "$schema": "https://TranslucentTB.github.io/settings.schema.json",
-  "maximized_window_appearance": {
-    "enabled": true,
-    "accent": "normal",
-    "rules": {
-      "process_name": {
-        "chrome.exe": {
-          "accent": "acrylic",
-          "color": "#000000AA",
-          "show_line": true
-        },
-        "notepad.exe": {
-          "accent": "clear",
-          "show_peek": false
-        }
-      }
-    }
-  }
-}
-
-
-
- -
-

Tips and Best Practices

-
    -
  1. Start Simple: Begin with basic appearance settings before adding complex rules
  2. -
  3. Test Changes: Use different applications to test your configuration
  4. -
  5. Backup Configuration: Keep a backup of working configurations
  6. -
  7. Performance: Complex rules with many blur effects may impact system performance
  8. -
  9. Color Format: Always use proper hexadecimal color format with alpha channel for transparency
  10. -
-
- -
-

Troubleshooting

-
    -
  • Configuration not loading: Check JSON syntax and schema validation
  • -
  • Rules not working: Verify process names and window classes using tools like Spy++
  • -
  • Performance issues: Reduce blur_radius values or disable complex effects
  • -
  • Color not applying: Ensure proper hex color format with alpha channel
  • -
-
-
-
- -
-
-

© 2025 TranslucentTB Project. Configuration documentation for better Windows taskbar customization.

-
-
- - - - \ No newline at end of file diff --git a/config.md b/config.md new file mode 100644 index 0000000..94e0417 --- /dev/null +++ b/config.md @@ -0,0 +1,455 @@ +# TranslucentTB Configuration Documentation + +TranslucentTB uses a JSON configuration file to customize the appearance and behavior of the Windows taskbar. This document explains all available configuration options and their usage. + +## Table of Contents + +- [Overview](#overview) +- [Configuration Structure](#configuration-structure) +- [Appearance Settings](#appearance-settings) +- [Appearance Modes](#appearance-modes) +- [Window Rules](#window-rules) +- [Global Settings](#global-settings) +- [Example Configurations](#example-configurations) +- [Tips and Best Practices](#tips-and-best-practices) +- [Troubleshooting](#troubleshooting) + +## Overview + +### Configuration File Location + +The configuration file should be saved as `settings.json` in the TranslucentTB application directory or user data folder. + +### Schema Reference + +The configuration follows the JSON schema available at: `https://TranslucentTB.github.io/settings.schema.json` + +## Configuration Structure + +```json +{ + "$schema": "https://TranslucentTB.github.io/settings.schema.json", + "desktop_appearance": { ... }, + "visible_window_appearance": { ... }, + "maximized_window_appearance": { ... }, + "start_opened_appearance": { ... }, + "search_opened_appearance": { ... }, + "task_view_opened_appearance": { ... }, + "battery_saver_appearance": { ... }, + "ignored_windows": { ... }, + "hide_tray": false, + "disable_saving": false, + "verbosity": "warn", + "language": "en-US", + "use_xaml_context_menu": false +} +``` + +## Appearance Settings + +All appearance configurations support the following properties: + +### Basic Properties + +#### `accent` (string) +The accent/transparency effect to apply: +- `"normal"`: Windows default appearance +- `"opaque"`: Solid, non-transparent taskbar +- `"clear"`: Fully transparent taskbar +- `"blur"`: Blurred transparency effect +- `"acrylic"`: Windows 10/11 acrylic material effect + +#### `color` (string) +Custom color in hexadecimal format: +- Format: `#RRGGBB` or `#RRGGBBAA` (with alpha channel) +- Example: `"#00000000"` (fully transparent black) + +#### `show_peek` (boolean) +Enable/disable desktop peek functionality: +- `true`: Show desktop peek +- `false`: Disable desktop peek + +#### `show_line` (boolean) +Show/hide the taskbar accent line: +- `true`: Display accent line +- `false`: Hide accent line + +#### `blur_radius` (number) +Blur effect intensity (when using blur accent): +- Range: Typically 0.0 to 50.0 +- Example: `9.0` + +## Appearance Modes + +### 1. Desktop Appearance + +Applied when no windows are open or focused. + +```json +"desktop_appearance": { + "accent": "clear", + "color": "#00000000", + "show_peek": false, + "show_line": false, + "blur_radius": 9.0 +} +``` + +### 2. Visible Window Appearance + +Applied when windows are visible but not maximized. + +```json +"visible_window_appearance": { + "enabled": false, + "accent": "clear", + "color": "#00000000", + "show_peek": true, + "show_line": false, + "blur_radius": 9.0, + "rules": { + "window_class": {}, + "window_title": {}, + "process_name": {} + } +} +``` + +### 3. Maximized Window Appearance + +Applied when a window is maximized. + +```json +"maximized_window_appearance": { + "enabled": true, + "accent": "clear", + "color": "#00000000", + "show_peek": true, + "show_line": false, + "blur_radius": 9.0, + "rules": { + "window_class": {}, + "window_title": {}, + "process_name": {} + } +} +``` + +### 4. Start Menu Opened Appearance + +Applied when the Start menu is open. + +```json +"start_opened_appearance": { + "enabled": false, + "accent": "normal", + "color": "#00000000", + "show_peek": true, + "show_line": true, + "blur_radius": 9.0 +} +``` + +### 5. Search Opened Appearance + +Applied when Windows Search is open. + +```json +"search_opened_appearance": { + "enabled": true, + "accent": "normal", + "color": "#00000000", + "show_peek": true, + "show_line": true, + "blur_radius": 9.0 +} +``` + +### 6. Task View Opened Appearance + +Applied when Task View (Alt+Tab) is open. + +```json +"task_view_opened_appearance": { + "enabled": true, + "accent": "normal", + "color": "#00000000", + "show_peek": false, + "show_line": true, + "blur_radius": 9.0 +} +``` + +### 7. Battery Saver Appearance + +Applied when Windows Battery Saver mode is active. + +```json +"battery_saver_appearance": { + "enabled": true, + "accent": "clear", + "color": "#00000000", + "show_peek": true, + "show_line": false, + "blur_radius": 9.0 +} +``` + +## Window Rules + +For `visible_window_appearance` and `maximized_window_appearance`, you can define specific rules based on: + +### Rule Types + +- **`window_class`**: Target specific window classes +- **`window_title`**: Target windows by title +- **`process_name`**: Target specific applications by process name + +### Rule Structure + +```json +"rules": { + "process_name": { + "notepad.exe": { + "accent": "blur", + "color": "#FF000080", + "show_peek": false, + "show_line": true, + "blur_radius": 15.0, + "inactive": { + "accent": "clear", + "color": "#00000000", + "show_peek": true, + "show_line": false + } + } + } +} +``` + +The `inactive` property defines the appearance when the targeted window is not focused. + +### Ignored Windows + +Configure windows that should be ignored by TranslucentTB: + +```json +"ignored_windows": { + "window_class": ["ClassName1", "ClassName2"], + "window_title": ["Window Title 1", "Window Title 2"], + "process_name": ["process1.exe", "process2.exe"] +} +``` + +## Global Settings + +### System Integration + +#### `hide_tray` (boolean) +Hide the system tray area: +- `true`: Hide tray +- `false`: Show tray (default) + +#### `disable_saving` (boolean) +Prevent saving configuration changes: +- `true`: Disable automatic saving +- `false`: Enable automatic saving (default) + +### Localization + +#### `language` (string) +Set application language: +- Format: `"en-US"`, `"de-DE"`, etc. +- Must follow ISO 639-1 language code format + +### Interface Options + +#### `use_xaml_context_menu` (boolean) +Use modern context menu style: +- `true`: Use XAML-based context menu +- `false`: Use classic context menu + +### Logging + +#### `verbosity` (string) +Set logging level: +- `"trace"`: Most verbose logging +- `"debug"`: Debug information +- `"info"`: General information +- `"warn"`: Warnings only (default) +- `"err"`: Errors only +- `"critical"`: Critical errors only +- `"off"`: No logging + +## Example Configurations + +### Fully Transparent Desktop + +```json +{ + "$schema": "https://TranslucentTB.github.io/settings.schema.json", + "desktop_appearance": { + "accent": "clear", + "color": "#00000000", + "show_peek": false, + "show_line": false + } +} +``` + +### Blur Effect with Custom Color + +```json +{ + "$schema": "https://TranslucentTB.github.io/settings.schema.json", + "desktop_appearance": { + "accent": "blur", + "color": "#1E1E1E80", + "show_peek": true, + "show_line": true, + "blur_radius": 15.0 + } +} +``` + +### Application-Specific Rules + +```json +{ + "$schema": "https://TranslucentTB.github.io/settings.schema.json", + "maximized_window_appearance": { + "enabled": true, + "accent": "normal", + "rules": { + "process_name": { + "chrome.exe": { + "accent": "acrylic", + "color": "#000000AA", + "show_line": true + }, + "notepad.exe": { + "accent": "clear", + "show_peek": false + } + } + } + } +} +``` + +### Complete Configuration Example + +```json +{ + "$schema": "https://TranslucentTB.github.io/settings.schema.json", + "desktop_appearance": { + "accent": "clear", + "color": "#00000000", + "show_peek": false, + "show_line": false, + "blur_radius": 9.0 + }, + "visible_window_appearance": { + "enabled": false, + "accent": "clear", + "color": "#00000000", + "show_peek": true, + "show_line": false, + "blur_radius": 9.0, + "rules": { + "window_class": {}, + "window_title": {}, + "process_name": {} + } + }, + "maximized_window_appearance": { + "enabled": true, + "accent": "clear", + "color": "#00000000", + "show_peek": true, + "show_line": false, + "blur_radius": 9.0, + "rules": { + "window_class": {}, + "window_title": {}, + "process_name": {} + } + }, + "start_opened_appearance": { + "enabled": false, + "accent": "normal", + "color": "#00000000", + "show_peek": true, + "show_line": true, + "blur_radius": 9.0 + }, + "search_opened_appearance": { + "enabled": true, + "accent": "normal", + "color": "#00000000", + "show_peek": true, + "show_line": true, + "blur_radius": 9.0 + }, + "task_view_opened_appearance": { + "enabled": true, + "accent": "normal", + "color": "#00000000", + "show_peek": false, + "show_line": true, + "blur_radius": 9.0 + }, + "battery_saver_appearance": { + "enabled": true, + "accent": "clear", + "color": "#00000000", + "show_peek": true, + "show_line": false, + "blur_radius": 9.0 + }, + "ignored_windows": { + "window_class": [], + "window_title": [], + "process_name": [] + }, + "disable_saving": false, + "verbosity": "warn" +} +``` + +## Tips and Best Practices + +1. **Start Simple**: Begin with basic appearance settings before adding complex rules +2. **Test Changes**: Use different applications to test your configuration +3. **Backup Configuration**: Keep a backup of working configurations +4. **Performance**: Complex rules with many blur effects may impact system performance +5. **Color Format**: Always use proper hexadecimal color format with alpha channel for transparency +6. **JSON Validation**: Use a JSON validator or editor with syntax checking to avoid errors +7. **Schema Validation**: Include the `$schema` property to enable validation and autocomplete in editors + +## Troubleshooting + +### Common Issues + +- **Configuration not loading**: Check JSON syntax and schema validation +- **Rules not working**: Verify process names and window classes using tools like Spy++ +- **Performance issues**: Reduce `blur_radius` values or disable complex effects +- **Color not applying**: Ensure proper hex color format with alpha channel +- **Settings not saving**: Check if `disable_saving` is set to `false` + +### Debugging Tips (Advanced) + +1. **Check the logs**: Set `verbosity` to `"debug"` to see detailed information +2. **Validate JSON**: Use online JSON validators or VS Code with the schema +3. **Test incrementally**: Add one setting at a time to isolate issues +4. **Use process monitor**: Tools like Process Monitor can help identify file access issues +5. **Check permissions**: Ensure TranslucentTB has write access to the config directory + +### Getting Help + +If you encounter issues not covered in this documentation: + +1. Check the [TranslucentTB Issues](https://github.com/TranslucentTB/TranslucentTB/issues) page +2. Search for similar problems in existing issues +3. Create a new issue with your configuration file and detailed description +4. Include system information and TranslucentTB version From a133ac9da159194ee0d469f9c1037b57cb598bd4 Mon Sep 17 00:00:00 2001 From: funtohard Date: Fri, 12 Sep 2025 16:57:09 +0530 Subject: [PATCH 3/3] Update config.md --- config.md | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/config.md b/config.md index 94e0417..e1f817f 100644 --- a/config.md +++ b/config.md @@ -64,17 +64,12 @@ Custom color in hexadecimal format: - Format: `#RRGGBB` or `#RRGGBBAA` (with alpha channel) - Example: `"#00000000"` (fully transparent black) -#### `show_peek` (boolean) -Enable/disable desktop peek functionality: -- `true`: Show desktop peek -- `false`: Disable desktop peek - -#### `show_line` (boolean) +#### `show_line` (boolean) **Windows 11 only** Show/hide the taskbar accent line: - `true`: Display accent line - `false`: Hide accent line -#### `blur_radius` (number) +#### `blur_radius` (number) **Windows 11 only** Blur effect intensity (when using blur accent): - Range: Typically 0.0 to 50.0 - Example: `9.0` @@ -167,7 +162,7 @@ Applied when Windows Search is open. ### 6. Task View Opened Appearance -Applied when Task View (Alt+Tab) is open. +Applied when Task View ( **⊞ Win+Tab ↹** ) is open. ```json "task_view_opened_appearance": { @@ -260,7 +255,7 @@ Prevent saving configuration changes: #### `language` (string) Set application language: - Format: `"en-US"`, `"de-DE"`, etc. -- Must follow ISO 639-1 language code format +- Must follow [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code format ### Interface Options @@ -423,15 +418,15 @@ Set logging level: 2. **Test Changes**: Use different applications to test your configuration 3. **Backup Configuration**: Keep a backup of working configurations 4. **Performance**: Complex rules with many blur effects may impact system performance -5. **Color Format**: Always use proper hexadecimal color format with alpha channel for transparency -6. **JSON Validation**: Use a JSON validator or editor with syntax checking to avoid errors +5. **Color Format**: Always use proper [hexadecimal color format](https://en.wikipedia.org/wiki/Web_colors) with alpha channel for transparency +6. **JSON Validation**: Use a [JSON validator](https://jsonlint.com/) or editor with syntax checking to avoid errors 7. **Schema Validation**: Include the `$schema` property to enable validation and autocomplete in editors ## Troubleshooting ### Common Issues -- **Configuration not loading**: Check JSON syntax and schema validation +- **Configuration not loading**: Check [JSON syntax](https://jsonlint.com/) and schema validation - **Rules not working**: Verify process names and window classes using tools like Spy++ - **Performance issues**: Reduce `blur_radius` values or disable complex effects - **Color not applying**: Ensure proper hex color format with alpha channel @@ -440,9 +435,9 @@ Set logging level: ### Debugging Tips (Advanced) 1. **Check the logs**: Set `verbosity` to `"debug"` to see detailed information -2. **Validate JSON**: Use online JSON validators or VS Code with the schema +2. **Validate JSON**: Use online JSON validators like [JSONLint](https://jsonlint.com/) (Recommended) or [VS Code](https://code.visualstudio.com/) with the schema 3. **Test incrementally**: Add one setting at a time to isolate issues -4. **Use process monitor**: Tools like Process Monitor can help identify file access issues +4. **Use process monitor**: Tools like [Process Monitor](https://docs.microsoft.com/en-us/sysinternals/downloads/procmon) can help identify file access issues 5. **Check permissions**: Ensure TranslucentTB has write access to the config directory ### Getting Help