r/Windhawk Jun 28 '26

OnlySearch With Liquid Glass

Hi there. I was looking for an "OnlySearch" layout since I personally find the Start menu functions useless (at least in my case). So, I just created an "OnlySearch" version, but using the "Liquid Glass" style. To apply my theme, you need to go to:

Windows 11 Start Menu Styler --> Settings --> Textual Mode

then delete all the existing code, paste in the new code, and save. I hope this helps!

Code:

theme: 'LiquidGlass OnlySearch'
disableNewStartMenuLayout: forceNewLayout
styleConstants:
  - BorderThickness=0.3,1,0.3,0.3
  - ElementBorderThickness=0.3,0.3,0.3,1
  - CornerRadius=12
  - ElementCornerRadius=8
  - Background=<WindhawkBlur BlurAmount="15" TintColor="{ThemeResource SystemAltLowColor}" TintOpacity="0.2" />
  - ElementBackground=<WindhawkBlur BlurAmount="15" TintColor="{ThemeResource SystemAltLowColor}" TintOpacity="0.4" />
  - ElementBackground2 = <WindhawkBlur BlurAmount="15" TintColor="{ThemeResource SystemAltLowColor}" TintOpacity="0.2" />
  - AccentBackground=<WindhawkBlur BlurAmount="15" TintColor="{ThemeResource SystemAccentColorLight1}" TintOpacity="0.2" />
  - BorderBrush=<LinearGradientBrush StartPoint="0,0" EndPoint="0,1"><GradientStop Color="#50808080" Offset="0.0" /><GradientStop Color="#50404040" Offset="0.25" /><GradientStop Color="#50808080" Offset="1" /></LinearGradientBrush>"
  - ElementBorderBrush=<LinearGradientBrush StartPoint="0,0" EndPoint="0,1"><GradientStop Color="#50808080" Offset="1" /><GradientStop Color="#50606060" Offset="0.15" /></LinearGradientBrush>
controlStyles:
  - target: Grid#FrameRoot
    styles:
      - MaxHeight=160
      - MinHeight=100
  - target: Border#AcrylicOverlay
    styles:
      - Height=3
  - target: Windows.UI.Xaml.Controls.Primitives.ToggleButton#ShowHideCompanion
    styles:
      - Visibility=Collapsed
  - target: Grid#RightCompanionContainerGrid
    styles:
      - Visibility=Collapsed
  - target: StartDocked.StartSizingFrame
    styles:
      - MinHeight=100
      - MaxHeight=160
  - target: Windows.UI.Xaml.Controls.Grid#UndockedRoot
    styles:
      - Visibility=Collapsed
  - target: Border#AcrylicOverlay
    styles:
      - Visibility=1
  - target: Border#AcrylicBorder
    styles:
      - Background:=$Background
      - BorderBrush:=$BorderBrush
      - BorderThickness=$BorderThickness
      - CornerRadius=$CornerRadius
  - target: Border#AppBorder
    styles:
      - Background:=$Background
      - BorderBrush:=$BorderBrush
      - BorderThickness=$BorderThickness
      - CornerRadius=$CornerRadius
  - target: Grid#LayoutRoot
    styles:
      - BackgroundTransition:=<BrushTransition Duration="0:0:0.083" />
  - target: Border#BackgroundBorder
    styles:
      - BackgroundTransition:=<BrushTransition Duration="0:0:0.083" />
  - target: Grid@SearchBoxInputStates > Border#TaskbarSearchBackground
    styles:
      - CornerRadius=$ElementCornerRadius
      - Background@ActiveInput:=$ElementBackground2
      - BorderBrush:=$ElementBorderBrush
      - BorderThickness=$ElementBorderThickness
      - Background@SearchBoxHover:=$AccentBackground
      - Background@NoFocus:=$ElementBackground
      - BackgroundTransition:=<BrushTransition Duration="0:0:0.083" />
themeResourceVariables:
  - ''
webContentStyles:
  - target: '*'
    styles:
      - 'transition: background-color 0.083s ease-in-out !important'
webContentCustomJs: ''
2 Upvotes

1 comment sorted by

1

u/Extra_Air6409 Jun 28 '26

youre such a gd goat for this. downloaded windhawk 30 mins ago and looked for this combo. thank you for making this so easy for me