一股脑删除原始内容并输入以下内容
{"theme":"SideBySide2","disableNewStartMenuLayout":"disableNewLayoutKeepPhoneLink","controlStyles[0].target":"Windows.UI.Xaml.Controls.Grid#RootContent","controlStyles[0].styles[0]":"Background:=<ImageBrush ImageSource=\"C:\\Program Files\\Windhawk\\27.gif\" Opacity=\"0.92\" Stretch=\"UniformToFill\"/>","controlStyles[0].styles[1]":"CornerRadius=15","controlStyles[1].target":"Border#AcrylicBorder","controlStyles[1].styles[0]":"Background:=<WindhawkBlur BlurAmount=\"4\" TintColor=\"#000000\" TintOpacity=\"0.2\"/>","controlStyles[1].styles[1]":"BorderThickness=0","controlStyles[1].styles[2]":"CornerRadius=15","controlStyles[2].target":"Windows.UI.Xaml.Controls.Grid#CompanionRoot","controlStyles[2].styles[0]":"Background:=<ImageBrush ImageSource=\"C:\\Program Files\\Windhawk\\phonelink.png\" Opacity=\"0.95\" Stretch=\"UniformToFill\"/>","controlStyles[2].styles[1]":"CornerRadius=15","controlStyles[3].target":"Windows.UI.Xaml.Controls.Grid#TopLevelSuggestionsContainer","controlStyles[3].styles[0]":"Visibility=Collapsed","controlStyles[4].target":"Windows.UI.Xaml.Controls.Grid#TopLevelSuggestionsListHeader","controlStyles[4].styles[0]":"Visibility=Collapsed"}
无脑删除原始字段并且复制以下内容
{"ShowSeconds":1,"TimeFormat":"hh':'mm':'ss tt","DateFormat":"ddd',' MMM dd yyyy","WeekdayFormat":"dddd","WeekdayFormatCustom":"Sun, Mon, Tue, Wed, Thu, Fri, Sat","TopLine":"%date% | %time%","BottomLine":"Powered By Little_100 | 粉丝: %web2%","MiddleLine":"%weekday%","TooltipLine":"%web1_full%","Width":180,"Height":60,"MaxWidth":0,"TextSpacing":0,"DataCollection.NetworkMetricsFormat":"mbs","DataCollection.NetworkMetricsFixedDecimals":-1,"DataCollection.PercentageFormat":"spacePaddingAndSymbol","DataCollection.UpdateInterval":1,"WebContentWeatherLocation":"","WebContentWeatherFormat":"%c 🌡️%t 🌬️%w","WebContentWeatherUnits":"autoDetect","WebContentsItems[0].Url":"https://rss.nytimes.com/services/xml/rss/nyt/World.xml","WebContentsItems[0].BlockStart":"<item>","WebContentsItems[0].Start":"<title>","WebContentsItems[0].End":"</title>","WebContentsItems[0].ContentMode":"xmlHtml","WebContentsItems[0].SearchReplace[0].Search":"","WebContentsItems[0].SearchReplace[0].Replace":"","WebContentsItems[0].MaxLength":28,"WebContentsUpdateInterval":10,"TimeZones[0]":"Eastern Standard Time","TimeStyle.Hidden":0,"TimeStyle.TextColor":"","TimeStyle.TextAlignment":"","TimeStyle.FontSize":0,"TimeStyle.FontFamily":"","TimeStyle.FontWeight":"","TimeStyle.FontStyle":"","TimeStyle.FontStretch":"","TimeStyle.CharacterSpacing":0,"DateStyle.Hidden":0,"DateStyle.TextColor":"","DateStyle.TextAlignment":"","DateStyle.FontSize":0,"DateStyle.FontFamily":"","DateStyle.FontWeight":"","DateStyle.FontStyle":"","DateStyle.FontStretch":"","DateStyle.CharacterSpacing":0,"oldTaskbarOnWin11":0,"WebContentsItems[1].Url":"https://api.bilibili.com/x/relation/stat?vmid=1492647738&jsonp=jsonp","WebContentsItems[1].Start":"follower\":","WebContentsItems[1].End":",\"","TooltipLineMode":"append","MediaPlayer.IgnoredPlayers[0]":"","MediaPlayer.MaxLength":28,"MediaPlayer.NoMediaText":"No media","MediaPlayer.RemoveBrackets":0}
用文本编辑器打开config.yaml 无脑删除原始内容然后复制以下内容
# watch_config_changes: Automatically reload borders whenever the config file is modified.
watch_config_changes: True
# enable_logging: Log messages (info, warnings, and errors) to a file.
# NOTE: Changes require an application restart to take effect.
enable_logging: True
# rendering_backend: Type of renderer. Supported values:
# - V2: A more complex, feature-rich renderer. Available in v1.2.0 and above.
# - Legacy: A simpler, more limited renderer. Available in v0.1.0 and above.
#
# NOTE: Performance between the two may vary system-to-system. Choose whichever works best.
rendering_backend: V2
# Global configuration options
global:
# border_width: Width of the border (in pixels)
border_width: 4
# border_offset: Offset of the border from the window edges (in pixels)
# - Negative values shrink the border inwards
# - Positive values expand the border outwards
border_offset: -1
# border-radius: Radius of the border's corners. Supported values:
# - Auto: Automatically determine the radius
# - Square: Sharp corners (radius = 0)
# - Round: Fully rounded corners
# - RoundSmall: Slightly rounded corners
# - Or specify any numeric value for a custom radius
border_radius: Auto
# border_z_order: Z-order of the border relative to its window. Supported values:
# - AboveWindow: Place the border above its window
# - BelowWindow: Place the border below its window
#
# NOTE: Using 'AboveWindow' may cause the border to flicker when used with some applications
# that manipulate window layering, leading to z-order conflicts.
border_z_order: AboveWindow
# follow_native_border: Follow Windows' behavior for border visibility.
#
# Windows already shows or hides native borders depending on a window's type or state
# (e.g., they're hidden for borderless fullscreen windows). When enabled, this option makes
# tacky-borders follow that visibility behavior.
#
# NOTE: This setting only affects visibility for borders that have been initialized.
# To make sure a border is initialized in the first place, use window_rules.
follow_native_border: True
# initialize_delay: Time (in ms) before the border appears after opening a new window
# unminimize_delay: Time (in ms) before the border appears after unminimizing a window
#
# These settings help accommodate window animations (e.g., open or unminimize animations).
# Set these to 0 if window animations are disabled.
#
# These can also be used to accommodate border animations (e.g., fade animations).
initialize_delay: 200
unminimize_delay: 150
# active_color: the color of the active window's border
# inactive_color: the color of the inactive window's border
#
# Supported color types:
# - Solid: Use a hex code or "accent"
# Example:
# active_color: "#ffffff"
# OR
# active_color: "accent"
# - Gradient: Define colors and direction
# Example:
# active_color:
# colors: ["#000000", "#ffffff"]
# direction: 45deg
# OR
# active_color:
# colors: ["#000000", "#ffffff"]
# direction:
# start: [0.0, 1.0]
# end: [1.0, 0.0]
# NOTE: [0.0, 0.0] = top-left, [1.0, 1.0] = bottom-right
active_color:
colors: ["#ff5fa2", "#ffb347", "#fff275", "#6ee7b7", "#63c7ff", "#7c83ff", "#c084fc"]
direction:
start: [0.0, 0.5]
end: [1.0, 0.5]
inactive_color: "#5f7fb8"
# komorebi_colors: Additional integration for komorebi's special window kinds
# - active_color is used for komorebi's "Single" window kind
# - inactive_color is used for komorebi's "Unfocused" window kind
komorebi_colors:
stack_color: "#e762b7"
monocle_color: "#62e793"
floating_color: "#f5f5a5"
enabled: False
# animations: Configure animation behavior for window borders
# active: Animations for active windows
# inactive: Animations for inactive windows
# fps: Animation frame rate
#
# Supported animation types:
# - Spiral
# - ReverseSpiral
# - Fade
#
# Specify animation types and parameters as follows:
# active:
# - type: ReverseSpiral
# duration: 1800
# easing: Linear
#
# - type: Fade
# duration: 200
# easing: EaseInOutQuad
#
# NOTE: Spiral animations may be resource-intensive on low-end systems.
animations:
active:
- type: ReverseSpiral
duration: 5200
easing: Linear
- type: Fade
duration: 420
easing: EaseInOutQuad
inactive:
- type: Fade
duration: 300
easing: EaseInOutQuad
fps: 60
enabled: True
# effects: Configure visual effects for window borders
# active: Effects for active windows
# inactive: Effects for inactive windows
#
# Supported effect types:
# - Shadow
# - Glow
#
# Specify effect types and parameters as follows:
# active:
# - type: Shadow
# blur: 2.0
# spread: 0.0
# opacity: 1.0
# translation:
# x: 0
# y: 20
#
# - type: Glow
# blur: 8.0
# spread: 0.0
# opacity: 1.0
#
# NOTE: These effects can significantly increase CPU and GPU usage.
# Additionally, effects require rendering_backend: V2 to work.
effects:
active:
- type: Glow
blur: 10.0
spread: 1.5
opacity: 0.35
inactive: []
enabled: True
# Per-application configuration overrides
window_rules:
- match: Class
name: "Windows.UI.Core.CoreWindow"
enabled: False
- match: Class
name: "XamlExplorerHostIslandWindow"
enabled: False
- match: Process
name: "tacky-borders"
enabled: False
- match: Process
name: "zebar"
enabled: False
- match: Title
name: "komorebi-bar"
enabled: False
- match: Title
name: "keyviz"
enabled: False
- match: Title
name: "Picture-in-Picture"
enabled: False
- match: Process
name: "windows-dynamic-island"
strategy: Contains
enabled: True
active_color:
colors: ["#ff5fa2", "#ffb347", "#fff275", "#6ee7b7", "#63c7ff", "#7c83ff", "#c084fc"]
direction:
start: [0.0, 0.5]
end: [1.0, 0.5]
inactive_color: "#00000000"
animations:
active:
- type: ReverseSpiral
duration: 5200
easing: Linear
- type: Fade
duration: 420
easing: EaseInOutQuad
inactive:
- type: Fade
duration: 250
easing: EaseInOutQuad
fps: 60
enabled: True
effects:
active:
- type: Glow
blur: 10.0
spread: 1.5
opacity: 0.35
inactive: []
enabled: True
# Example rule:
# - match: Class # Match based on Class, Title, or Process
# name: "MozillaWindowClass" # Class/title/process name to match
# strategy: Equals # Matching strategy: Equals, Contains, or Regex (default: Equals)
# enabled: True # Enable border initialization: True, False, or Auto (default: Auto)
#
# NOTE:
# - Any option in the global config can also be defined in window_rules.
# - If not defined in a rule, settings will fall back to global config values.
# - Setting 'border enabled' to True forces its initialization, but not necessarily its visibility.
# If the border still isn't visible, try setting 'follow_native_border' to False.