panel.ui 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <interface domain="blur-my-shell@aunetx">
  3. <template class="Panel" parent="AdwPreferencesPage">
  4. <property name="name">panel</property>
  5. <property name="title" translatable="yes">Panel</property>
  6. <property name="icon-name">bottom-panel-symbolic</property>
  7. <child>
  8. <object class="AdwPreferencesGroup">
  9. <property name="title" translatable="yes">Panel blur</property>
  10. <property name="description" translatable="yes">Blur the top panel using the background image.</property>
  11. <property name="header-suffix">
  12. <object class="GtkSwitch" id="blur">
  13. <property name="valign">center</property>
  14. </object>
  15. </property>
  16. <child>
  17. <object class="CustomizeRow" id="customize">
  18. <property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
  19. </object>
  20. </child>
  21. <child>
  22. <object class="AdwActionRow">
  23. <property name="title" translatable="yes">Static blur</property>
  24. <property name="subtitle" translatable="yes">Uses a static blurred image, more performant and stable.</property>
  25. <property name="activatable-widget">static_blur</property>
  26. <property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
  27. <child>
  28. <object class="GtkSwitch" id="static_blur">
  29. <property name="valign">center</property>
  30. </object>
  31. </child>
  32. </object>
  33. </child>
  34. <child>
  35. <object class="AdwActionRow">
  36. <property name="title" translatable="yes">Disable in overview</property>
  37. <property name="subtitle" translatable="yes">Disables the blur from the panel when entering the overview.</property>
  38. <property name="activatable-widget">unblur_in_overview</property>
  39. <property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
  40. <child>
  41. <object class="GtkSwitch" id="unblur_in_overview">
  42. <property name="valign">center</property>
  43. </object>
  44. </child>
  45. </object>
  46. </child>
  47. <child>
  48. <object class="AdwExpanderRow" id="override_background">
  49. <property name="title" translatable="yes">Override background</property>
  50. <property name="subtitle" translatable="yes">Override the background of the panel to use a transparent or semi-transparent one.
  51. Recommended unless you want to customize your GNOME theme.</property>
  52. <property name="show-enable-switch">true</property>
  53. <property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
  54. <child>
  55. <object class="AdwActionRow">
  56. <property name="title" translatable="yes">Background style</property>
  57. <property name="subtitle" translatable="yes">The transparent/semi-transparent style for the panel background.</property>
  58. <property name="activatable-widget">style_panel</property>
  59. <child>
  60. <object class="GtkDropDown" id="style_panel">
  61. <property name="valign">center</property>
  62. <property name="model">style_panel_model</property>
  63. </object>
  64. </child>
  65. </object>
  66. </child>
  67. <child>
  68. <object class="AdwActionRow">
  69. <property name="title" translatable="yes">Disable when a window is near</property>
  70. <property name="subtitle" translatable="yes">Disables the transparency of the panel when a window is near it.</property>
  71. <property name="activatable-widget">override_background_dynamically</property>
  72. <child>
  73. <object class="GtkSwitch" id="override_background_dynamically">
  74. <property name="valign">center</property>
  75. </object>
  76. </child>
  77. </object>
  78. </child>
  79. </object>
  80. </child>
  81. </object>
  82. </child>
  83. <child>
  84. <object class="AdwPreferencesGroup">
  85. <property name="title" translatable="yes">Compatibility</property>
  86. <property name="description" translatable="yes">Various options to provide compatibility with other extensions.</property>
  87. <property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
  88. <child>
  89. <object class="AdwActionRow">
  90. <property name="title" translatable="yes">Hidetopbar extension</property>
  91. <property name="subtitle" translatable="yes">Does not disable the blur in overview, best used with static blur.</property>
  92. <property name="activatable-widget">hidetopbar_compatibility</property>
  93. <property name="sensitive" bind-source="unblur_in_overview" bind-property="state" bind-flags="sync-create" />
  94. <child>
  95. <object class="GtkSwitch" id="hidetopbar_compatibility">
  96. <property name="valign">center</property>
  97. </object>
  98. </child>
  99. </object>
  100. </child>
  101. <child>
  102. <object class="AdwActionRow">
  103. <property name="title" translatable="yes">Blur original panel with Dash to Panel</property>
  104. <property name="subtitle" translatable="yes">Enables the blurring of the original panel with Dash to Panel, if selected in the extension's options.</property>
  105. <property name="activatable-widget">dtp_blur_original_panel</property>
  106. <child>
  107. <object class="GtkSwitch" id="dtp_blur_original_panel">
  108. <property name="valign">center</property>
  109. </object>
  110. </child>
  111. </object>
  112. </child>
  113. </object>
  114. </child>
  115. </template>
  116. <object class="GtkStringList" id="style_panel_model">
  117. <items>
  118. <item translatable="yes">Transparent</item>
  119. <item translatable="yes">Light</item>
  120. <item translatable="yes">Dark</item>
  121. <item translatable="yes">Contrasted</item>
  122. </items>
  123. </object>
  124. </interface>