Add base gnome extensions
This commit is contained in:
@ -0,0 +1,163 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface domain="blur-my-shell@aunetx">
|
||||
<template class="Applications" parent="AdwPreferencesPage">
|
||||
<property name="name">applications</property>
|
||||
<property name="title" translatable="yes">Applications</property>
|
||||
<property name="icon-name">applications-symbolic</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Applications blur (beta)</property>
|
||||
<property name="description" translatable="yes">Adds blur to the applications. This is still beta functionality.
|
||||
To get the best results possible, make sure to choose the option “No artifact” in the “General → Hack level” preference.
|
||||
</property>
|
||||
<property name="header-suffix">
|
||||
<object class="GtkSwitch" id="blur">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
<child>
|
||||
<object class="CustomizeRow" id="customize">
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Opacity</property>
|
||||
<property name="subtitle" translatable="yes">The opacity of the window on top of the blur effect, a higher value will be more legible.</property>
|
||||
<property name="activatable-widget">opacity</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
|
||||
<child>
|
||||
<object class="GtkScale" id="opacity_scale">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">200px</property>
|
||||
<property name="draw-value">true</property>
|
||||
<property name="value-pos">right</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="digits">0</property>
|
||||
<property name="adjustment">opacity</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Blur on overview</property>
|
||||
<property name="subtitle" translatable="yes">Forces the blur to be properly shown on all workspaces on overview.
|
||||
This may cause some latency or performance issues.</property>
|
||||
<property name="activatable-widget">blur_on_overview</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
|
||||
<child>
|
||||
<object class="GtkSwitch" id="blur_on_overview">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Enable all by default</property>
|
||||
<property name="subtitle" translatable="yes">Adds blur behind all windows by default.
|
||||
Not recommended because of performance and stability issues.</property>
|
||||
<property name="activatable-widget">enable_all</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
|
||||
<child>
|
||||
<object class="GtkSwitch" id="enable_all">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup" id="whitelist">
|
||||
<property name="title" translatable="yes">Whitelist</property>
|
||||
<property name="description" translatable="yes">A list of windows to blur.</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
<property name="header-suffix">
|
||||
<object class="GtkButton" id="add_window_whitelist">
|
||||
<property name="halign">start</property>
|
||||
<property name="valign">center</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="margin-start">12</property>
|
||||
<property name="margin-end">12</property>
|
||||
<child>
|
||||
<object class="GtkImage">
|
||||
<property name="margin-end">6</property>
|
||||
<property name="icon-name">add-window-symbolic</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Add Window</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<style>
|
||||
<class name="circular" />
|
||||
<class name="suggested-action" />
|
||||
</style>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
<!-- WINDOW ROW WIDGETS GO HERE -->
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup" id="blacklist">
|
||||
<property name="title" translatable="yes">Blacklist</property>
|
||||
<property name="description" translatable="yes">A list of windows not to blur.</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
<property name="header-suffix">
|
||||
<object class="GtkButton" id="add_window_blacklist">
|
||||
<property name="halign">start</property>
|
||||
<property name="valign">center</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="margin-start">12</property>
|
||||
<property name="margin-end">12</property>
|
||||
<child>
|
||||
<object class="GtkImage">
|
||||
<property name="margin-end">6</property>
|
||||
<property name="icon-name">list-add-symbolic</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Add Window</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<style>
|
||||
<class name="circular" />
|
||||
<class name="suggested-action" />
|
||||
</style>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
<!-- WINDOW ROW WIDGETS GO HERE -->
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
<object class="GtkAdjustment" id="opacity">
|
||||
<property name="lower">25</property>
|
||||
<property name="upper">255</property>
|
||||
<property name="step-increment">1</property>
|
||||
</object>
|
||||
</interface>
|
||||
@ -0,0 +1,143 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface domain="blur-my-shell@aunetx">
|
||||
<template class="CustomizeRow" parent="AdwExpanderRow">
|
||||
<property name="title" translatable="yes">Customize properties</property>
|
||||
<property name="subtitle" translatable="yes">Uses customized blur properties, instead of the ones set in the General page.</property>
|
||||
<property name="show-enable-switch">true</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Sigma</property>
|
||||
<property name="subtitle" translatable="yes">The intensity of the blur.</property>
|
||||
<property name="activatable-widget">sigma_scale</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkScale" id="sigma_scale">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">200px</property>
|
||||
<property name="draw-value">true</property>
|
||||
<property name="value-pos">right</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="digits">0</property>
|
||||
<property name="adjustment">sigma</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Brightness</property>
|
||||
<property name="subtitle" translatable="yes">The brightness of the blur effect, a high value might make the text harder to read.</property>
|
||||
<property name="activatable-widget">brightness_scale</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkScale" id="brightness_scale">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">200px</property>
|
||||
<property name="draw-value">true</property>
|
||||
<property name="value-pos">right</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="digits">2</property>
|
||||
<property name="adjustment">brightness</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow" id="color_row">
|
||||
<property name="title" translatable="yes">Color</property>
|
||||
<property name="subtitle" translatable="yes">Changes the color of the blur. The opacity of the color controls how much it is blended into the blur effect.</property>
|
||||
<property name="activatable-widget">color</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkColorButton" id="color">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">false</property>
|
||||
<property name="width-request">70px</property>
|
||||
<property name="height-request">45px</property>
|
||||
<property name="show-editor">true</property>
|
||||
<property name="use-alpha">true</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow" id="noise_amount_row">
|
||||
<property name="title" translatable="yes">Noise amount</property>
|
||||
<property name="subtitle" translatable="yes">The amount of noise to add to the blur effect, useful on low-contrast screens or for aesthetic purpose.</property>
|
||||
<property name="activatable-widget">noise_amount_scale</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkScale" id="noise_amount_scale">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">200px</property>
|
||||
<property name="draw-value">true</property>
|
||||
<property name="value-pos">right</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="digits">2</property>
|
||||
<property name="adjustment">noise_amount</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow" id="noise_lightness_row">
|
||||
<property name="title" translatable="yes">Noise lightness</property>
|
||||
<property name="subtitle" translatable="yes">The lightness of the noise added to the blur effect.</property>
|
||||
<property name="activatable-widget">noise_lightness_scale</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkScale" id="noise_lightness_scale">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">200px</property>
|
||||
<property name="draw-value">true</property>
|
||||
<property name="value-pos">right</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="digits">2</property>
|
||||
<property name="adjustment">noise_lightness</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow" id="noise_color_notice">
|
||||
<property name="title" translatable="yes">Notice</property>
|
||||
<property name="subtitle" translatable="yes">Noise and color can't be activated on dynamically blurred components, such as this one.</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</template>
|
||||
|
||||
<object class="GtkAdjustment" id="sigma">
|
||||
<property name="lower">0</property>
|
||||
<property name="upper">200</property>
|
||||
<property name="step-increment">1</property>
|
||||
</object>
|
||||
|
||||
<object class="GtkAdjustment" id="brightness">
|
||||
<property name="lower">0.0</property>
|
||||
<property name="upper">1.0</property>
|
||||
<property name="step-increment">0.01</property>
|
||||
</object>
|
||||
|
||||
<object class="GtkAdjustment" id="noise_amount">
|
||||
<property name="lower">0.0</property>
|
||||
<property name="upper">1.0</property>
|
||||
<property name="step-increment">0.01</property>
|
||||
</object>
|
||||
|
||||
<object class="GtkAdjustment" id="noise_lightness">
|
||||
<property name="lower">0.0</property>
|
||||
<property name="upper">2.0</property>
|
||||
<property name="step-increment">0.01</property>
|
||||
</object>
|
||||
</interface>
|
||||
@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface domain="blur-my-shell@aunetx">
|
||||
<template class="Dash" parent="AdwPreferencesPage">
|
||||
<property name="name">dash</property>
|
||||
<property name="title" translatable="yes">Dash</property>
|
||||
<property name="icon-name">dash-symbolic</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Dash to Dock blur</property>
|
||||
<property name="description" translatable="yes">Blur the background of the Dash to Dock extension, if it is used.</property>
|
||||
<property name="header-suffix">
|
||||
<object class="GtkSwitch" id="blur">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
<child>
|
||||
<object class="CustomizeRow" id="customize">
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwExpanderRow" id="override_background">
|
||||
<property name="title" translatable="yes">Override background</property>
|
||||
<property name="subtitle" translatable="yes">Makes the background either transparent or semi-transparent, disable this to use Dash to Dock preferences instead.</property>
|
||||
<property name="show-enable-switch">true</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Background style</property>
|
||||
<property name="subtitle" translatable="yes">The transparent/semi-transparent style for the dock background.</property>
|
||||
<property name="activatable-widget">style_dash_to_dock</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkDropDown" id="style_dash_to_dock">
|
||||
<property name="valign">center</property>
|
||||
<property name="model">style_dash_to_dock_model</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Disable in overview</property>
|
||||
<property name="subtitle" translatable="yes">Disables the blur from Dash to Dock when entering the overview.</property>
|
||||
<property name="activatable-widget">unblur_in_overview</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
|
||||
<child>
|
||||
<object class="GtkSwitch" id="unblur_in_overview">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
<object class="GtkStringList" id="style_dash_to_dock_model">
|
||||
<items>
|
||||
<item translatable="yes">Transparent</item>
|
||||
<item translatable="yes">Light</item>
|
||||
<item translatable="yes">Dark</item>
|
||||
</items>
|
||||
</object>
|
||||
</interface>
|
||||
234
gnome/.local/share/extensions/blur-my-shell@aunetx/ui/general.ui
Normal file
234
gnome/.local/share/extensions/blur-my-shell@aunetx/ui/general.ui
Normal file
@ -0,0 +1,234 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface domain="blur-my-shell@aunetx">
|
||||
<template class="General" parent="AdwPreferencesPage">
|
||||
<property name="name">general</property>
|
||||
<property name="title" translatable="yes">General</property>
|
||||
<property name="icon-name">general-symbolic</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Blur preferences</property>
|
||||
<property name="description" translatable="yes">Global blur preferences, used by all components by default.</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Sigma</property>
|
||||
<property name="subtitle" translatable="yes">The intensity of the blur.</property>
|
||||
<property name="activatable-widget">sigma_scale</property>
|
||||
<child>
|
||||
<object class="GtkScale" id="sigma_scale">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">200px</property>
|
||||
<property name="draw-value">true</property>
|
||||
<property name="value-pos">right</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="digits">0</property>
|
||||
<property name="adjustment">sigma</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Brightness</property>
|
||||
<property name="subtitle" translatable="yes">The brightness of the blur effect, a high value might make the text harder to read.</property>
|
||||
<property name="activatable-widget">brightness_scale</property>
|
||||
<child>
|
||||
<object class="GtkScale" id="brightness_scale">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">200px</property>
|
||||
<property name="draw-value">true</property>
|
||||
<property name="value-pos">right</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="digits">2</property>
|
||||
<property name="adjustment">brightness</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow" id="color_row">
|
||||
<property name="title" translatable="yes">Color</property>
|
||||
<property name="subtitle" translatable="yes">Changes the color of the blur. The opacity of the color controls how much it is blended into the blur effect.</property>
|
||||
<property name="activatable-widget">color</property>
|
||||
<child>
|
||||
<object class="GtkColorButton" id="color">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">false</property>
|
||||
<property name="width-request">70px</property>
|
||||
<property name="height-request">45px</property>
|
||||
<property name="show-editor">true</property>
|
||||
<property name="use-alpha">true</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow" id="noise_amount_row">
|
||||
<property name="title" translatable="yes">Noise amount</property>
|
||||
<property name="subtitle" translatable="yes">The amount of noise to add to the blur effect, useful on low-contrast screens or for aesthetic purpose.</property>
|
||||
<property name="activatable-widget">noise_amount_scale</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkScale" id="noise_amount_scale">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">200px</property>
|
||||
<property name="draw-value">true</property>
|
||||
<property name="value-pos">right</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="digits">2</property>
|
||||
<property name="adjustment">noise_amount</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow" id="noise_lightness_row">
|
||||
<property name="title" translatable="yes">Noise lightness</property>
|
||||
<property name="subtitle" translatable="yes">The lightness of the noise added to the blur effect.</property>
|
||||
<property name="activatable-widget">noise_lightness_scale</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkScale" id="noise_lightness_scale">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">200px</property>
|
||||
<property name="draw-value">true</property>
|
||||
<property name="value-pos">right</property>
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="digits">2</property>
|
||||
<property name="adjustment">noise_lightness</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Performance</property>
|
||||
<property name="description" translatable="yes">Various options to tweak the performance.</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Color and noise effects</property>
|
||||
<property name="subtitle" translatable="yes">Globally disables noise and color effects which may improve performance on low-end systems.</property>
|
||||
<property name="activatable-widget">color_and_noise</property>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="color_and_noise">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Hack level</property>
|
||||
<property name="subtitle" translatable="yes">Changes the behaviour of the dynamic blur effect.
|
||||
The default value is highly recommended unless you use application blur, in which case “No artifact” is better.
|
||||
This option will entirely disable clipped redraws in GNOME shell, and may impact performance significantly but will completely fix the blur effect.</property>
|
||||
<property name="activatable-widget">hack_level</property>
|
||||
<child>
|
||||
<object class="GtkDropDown" id="hack_level">
|
||||
<property name="valign">center</property>
|
||||
<property name="model">hack_level_model</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Debug</property>
|
||||
<property name="subtitle" translatable="yes">Makes the extension verbose in logs, activate when you need to report an issue.</property>
|
||||
<property name="activatable-widget">debug</property>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="debug">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Reset preferences</property>
|
||||
<property name="description" translatable="yes">Resets preferences of Blur my Shell irreversibly.</property>
|
||||
<property name="header-suffix">
|
||||
<object class="GtkButton" id="reset">
|
||||
<property name="halign">start</property>
|
||||
<property name="valign">center</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="margin-start">20</property>
|
||||
<property name="margin-end">20</property>
|
||||
<property name="margin-top">6</property>
|
||||
<property name="margin-bottom">6</property>
|
||||
<child>
|
||||
<object class="GtkImage">
|
||||
<property name="margin-end">6</property>
|
||||
<property name="icon-name">reset-symbolic</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Reset</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<style>
|
||||
<class name="circular" />
|
||||
<class name="destructive-action" />
|
||||
</style>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
<object class="GtkAdjustment" id="sigma">
|
||||
<property name="lower">0</property>
|
||||
<property name="upper">200</property>
|
||||
<property name="step-increment">1</property>
|
||||
</object>
|
||||
|
||||
<object class="GtkAdjustment" id="brightness">
|
||||
<property name="lower">0.0</property>
|
||||
<property name="upper">1.0</property>
|
||||
<property name="step-increment">0.01</property>
|
||||
</object>
|
||||
|
||||
<object class="GtkAdjustment" id="noise_amount">
|
||||
<property name="lower">0.0</property>
|
||||
<property name="upper">1.0</property>
|
||||
<property name="step-increment">0.01</property>
|
||||
</object>
|
||||
|
||||
<object class="GtkAdjustment" id="noise_lightness">
|
||||
<property name="lower">0.0</property>
|
||||
<property name="upper">2.0</property>
|
||||
<property name="step-increment">0.01</property>
|
||||
</object>
|
||||
|
||||
<object class="GtkStringList" id="hack_level_model">
|
||||
<items>
|
||||
<item translatable="yes">High performances</item>
|
||||
<item translatable="yes">Default</item>
|
||||
<item translatable="yes">High quality</item>
|
||||
<item translatable="yes">No artifact</item>
|
||||
</items>
|
||||
</object>
|
||||
</interface>
|
||||
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface domain="blur-my-shell@aunetx">
|
||||
<menu id="info_menu_model">
|
||||
<section>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">Project page</attribute>
|
||||
<attribute name="action">prefs.open-readme</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">Report a Bug</attribute>
|
||||
<attribute name="action">prefs.open-bug-report</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label" translatable="yes">License</attribute>
|
||||
<attribute name="action">prefs.open-license</attribute>
|
||||
</item>
|
||||
<submenu>
|
||||
<attribute name="label" translatable="yes">Donate</attribute>
|
||||
<item>
|
||||
<attribute name="label">GitHub</attribute>
|
||||
<attribute name="action">prefs.donate-github</attribute>
|
||||
</item>
|
||||
<item>
|
||||
<attribute name="label">Ko-fi</attribute>
|
||||
<attribute name="action">prefs.donate-kofi</attribute>
|
||||
</item>
|
||||
</submenu>
|
||||
</section>
|
||||
</menu>
|
||||
|
||||
<object class="GtkMenuButton" id="info_menu">
|
||||
<property name="menu-model">info_menu_model</property>
|
||||
<property name="icon-name">heart-filled-symbolic</property>
|
||||
</object>
|
||||
|
||||
<object class="AdwPreferencesPage" id="menu_util"></object>
|
||||
</interface>
|
||||
@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface domain="blur-my-shell@aunetx">
|
||||
<template class="Other" parent="AdwPreferencesPage">
|
||||
<property name="name">other</property>
|
||||
<property name="title" translatable="yes">Other</property>
|
||||
<property name="icon-name">other-symbolic</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Lockscreen blur</property>
|
||||
<property name="description" translatable="yes">Change the blur of the lockscreen to use this extension's preferences.</property>
|
||||
<property name="header-suffix">
|
||||
<object class="GtkSwitch" id="lockscreen_blur">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
<child>
|
||||
<object class="CustomizeRow" id="lockscreen_customize">
|
||||
<property name="sensitive" bind-source="lockscreen_blur" bind-property="state" bind-flags="sync-create" />
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Screenshot blur</property>
|
||||
<property name="description" translatable="yes">Add blur to the background of the window selector in the screenshot UI.</property>
|
||||
<property name="header-suffix">
|
||||
<object class="GtkSwitch" id="screenshot_blur">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
<child>
|
||||
<object class="CustomizeRow" id="screenshot_customize">
|
||||
<property name="sensitive" bind-source="screenshot_blur" bind-property="state" bind-flags="sync-create" />
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Window list extension blur</property>
|
||||
<property name="description" translatable="yes">Make the window-list extension blurred, if it is used.</property>
|
||||
<property name="header-suffix">
|
||||
<object class="GtkSwitch" id="window_list_blur">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
<child>
|
||||
<object class="CustomizeRow" id="window_list_customize">
|
||||
<property name="sensitive" bind-source="window_list_blur" bind-property="state" bind-flags="sync-create" />
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
</interface>
|
||||
@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface domain="blur-my-shell@aunetx">
|
||||
<template class="Overview" parent="AdwPreferencesPage">
|
||||
<property name="name">overview</property>
|
||||
<property name="title" translatable="yes">Overview</property>
|
||||
<property name="icon-name">overview-symbolic</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Background blur</property>
|
||||
<property name="description" translatable="yes">Add blur to the overview background, using the wallpaper picture.</property>
|
||||
<property name="header-suffix">
|
||||
<object class="GtkSwitch" id="overview_blur">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
<child>
|
||||
<object class="CustomizeRow" id="overview_customize">
|
||||
<property name="sensitive" bind-source="overview_blur" bind-property="state" bind-flags="sync-create" />
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Overview components style</property>
|
||||
<property name="subtitle" translatable="yes">The semi-transparent style for the dash, search entry/results, and application folders.</property>
|
||||
<property name="sensitive" bind-source="overview_blur" bind-property="state" bind-flags="sync-create" />
|
||||
<property name="activatable-widget">overview_style_components</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkDropDown" id="overview_style_components">
|
||||
<property name="valign">center</property>
|
||||
<property name="model">overview_style_components_model</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Application folder blur</property>
|
||||
<property name="description" translatable="yes">Makes the background of application folder dialogs blurred.</property>
|
||||
<property name="header-suffix">
|
||||
<object class="GtkSwitch" id="appfolder_blur">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
<child>
|
||||
<object class="CustomizeRow" id="appfolder_customize">
|
||||
<property name="sensitive" bind-source="appfolder_blur" bind-property="state" bind-flags="sync-create" />
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Application folder dialogs style</property>
|
||||
<property name="subtitle" translatable="yes">The semi-transparent style for the application folder dialogs.</property>
|
||||
<property name="sensitive" bind-source="appfolder_blur" bind-property="state" bind-flags="sync-create" />
|
||||
<property name="activatable-widget">appfolder_style_dialogs</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkDropDown" id="appfolder_style_dialogs">
|
||||
<property name="valign">center</property>
|
||||
<property name="model">appfolder_style_dialogs_model</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
<object class="GtkStringList" id="overview_style_components_model">
|
||||
<items>
|
||||
<item translatable="yes">Do not style</item>
|
||||
<item translatable="yes">Light</item>
|
||||
<item translatable="yes">Dark</item>
|
||||
<item translatable="yes">Transparent</item>
|
||||
</items>
|
||||
</object>
|
||||
|
||||
<object class="GtkStringList" id="appfolder_style_dialogs_model">
|
||||
<items>
|
||||
<item translatable="yes">Do not style</item>
|
||||
<item translatable="yes">Transparent</item>
|
||||
<item translatable="yes">Light</item>
|
||||
<item translatable="yes">Dark</item>
|
||||
</items>
|
||||
</object>
|
||||
</interface>
|
||||
141
gnome/.local/share/extensions/blur-my-shell@aunetx/ui/panel.ui
Normal file
141
gnome/.local/share/extensions/blur-my-shell@aunetx/ui/panel.ui
Normal file
@ -0,0 +1,141 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface domain="blur-my-shell@aunetx">
|
||||
<template class="Panel" parent="AdwPreferencesPage">
|
||||
<property name="name">panel</property>
|
||||
<property name="title" translatable="yes">Panel</property>
|
||||
<property name="icon-name">bottom-panel-symbolic</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Panel blur</property>
|
||||
<property name="description" translatable="yes">Blur the top panel using the background image.</property>
|
||||
<property name="header-suffix">
|
||||
<object class="GtkSwitch" id="blur">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</property>
|
||||
|
||||
<child>
|
||||
<object class="CustomizeRow" id="customize">
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Static blur</property>
|
||||
<property name="subtitle" translatable="yes">Uses a static blurred image, more performant and stable.</property>
|
||||
<property name="activatable-widget">static_blur</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
|
||||
<child>
|
||||
<object class="GtkSwitch" id="static_blur">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Disable in overview</property>
|
||||
<property name="subtitle" translatable="yes">Disables the blur from the panel when entering the overview.</property>
|
||||
<property name="activatable-widget">unblur_in_overview</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
|
||||
<child>
|
||||
<object class="GtkSwitch" id="unblur_in_overview">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwExpanderRow" id="override_background">
|
||||
<property name="title" translatable="yes">Override background</property>
|
||||
<property name="subtitle" translatable="yes">Override the background of the panel to use a transparent or semi-transparent one.
|
||||
Recommended unless you want to customize your GNOME theme.</property>
|
||||
<property name="show-enable-switch">true</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Background style</property>
|
||||
<property name="subtitle" translatable="yes">The transparent/semi-transparent style for the panel background.</property>
|
||||
<property name="activatable-widget">style_panel</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkDropDown" id="style_panel">
|
||||
<property name="valign">center</property>
|
||||
<property name="model">style_panel_model</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Disable when a window is near</property>
|
||||
<property name="subtitle" translatable="yes">Disables the transparency of the panel when a window is near it.</property>
|
||||
<property name="activatable-widget">override_background_dynamically</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkSwitch" id="override_background_dynamically">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Compatibility</property>
|
||||
<property name="description" translatable="yes">Various options to provide compatibility with other extensions.</property>
|
||||
<property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Hidetopbar extension</property>
|
||||
<property name="subtitle" translatable="yes">Does not disable the blur in overview, best used with static blur.</property>
|
||||
<property name="activatable-widget">hidetopbar_compatibility</property>
|
||||
<property name="sensitive" bind-source="unblur_in_overview" bind-property="state" bind-flags="sync-create" />
|
||||
|
||||
<child>
|
||||
<object class="GtkSwitch" id="hidetopbar_compatibility">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Blur original panel with Dash to Panel</property>
|
||||
<property name="subtitle" translatable="yes">Enables the blurring of the original panel with Dash to Panel, if selected in the extension's options.</property>
|
||||
<property name="activatable-widget">dtp_blur_original_panel</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkSwitch" id="dtp_blur_original_panel">
|
||||
<property name="valign">center</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
<object class="GtkStringList" id="style_panel_model">
|
||||
<items>
|
||||
<item translatable="yes">Transparent</item>
|
||||
<item translatable="yes">Light</item>
|
||||
<item translatable="yes">Dark</item>
|
||||
<item translatable="yes">Contrasted</item>
|
||||
</items>
|
||||
</object>
|
||||
</interface>
|
||||
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface domain="blur-my-shell@aunetx">
|
||||
<template class="WindowRow" parent="AdwExpanderRow">
|
||||
<property name="title" translatable="yes">Window Name</property>
|
||||
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Select window</property>
|
||||
<property name="subtitle" translatable="yes">Pick a window or select it by its classname.</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkBox" id="window_selector">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="width-request">175px</property>
|
||||
<style>
|
||||
<class name="linked" />
|
||||
</style>
|
||||
|
||||
<child>
|
||||
<object class="GtkButton" id="window_picker">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="icon-name">select-window-symbolic</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkEntry" id="window_class">
|
||||
<property name="valign">center</property>
|
||||
<property name="hexpand">true</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
<object class="AdwToast" id="picking_failure_toast">
|
||||
<property name="title">Could not pick window, make sure that the extension is enabled.</property>
|
||||
</object>
|
||||
</interface>
|
||||
Reference in New Issue
Block a user