panel.ui 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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">Force light text</property>
  37. <property name="subtitle" translatable="yes">Use a light text for the panel, useful when using gnome-shell's light theme.</property>
  38. <property name="activatable-widget">force_light_text</property>
  39. <property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
  40. <child>
  41. <object class="GtkSwitch" id="force_light_text">
  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. <child>
  82. <object class="AdwActionRow">
  83. <property name="title" translatable="yes">Disable in overview</property>
  84. <property name="subtitle" translatable="yes">Disables the blur from the panel when entering the overview.</property>
  85. <property name="activatable-widget">unblur_in_overview</property>
  86. <property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
  87. <child>
  88. <object class="GtkSwitch" id="unblur_in_overview">
  89. <property name="valign">center</property>
  90. </object>
  91. </child>
  92. </object>
  93. </child>
  94. </object>
  95. </child>
  96. <child>
  97. <object class="AdwPreferencesGroup">
  98. <property name="title" translatable="yes">Compatibility</property>
  99. <property name="description" translatable="yes">Various options to provide compatibility with other extensions.</property>
  100. <property name="sensitive" bind-source="blur" bind-property="state" bind-flags="sync-create" />
  101. <child>
  102. <object class="AdwActionRow">
  103. <property name="title" translatable="yes">Hidetopbar extension</property>
  104. <property name="subtitle" translatable="yes">Does not disable the blur in overview, best used with static blur.</property>
  105. <property name="activatable-widget">hidetopbar_compatibility</property>
  106. <property name="sensitive" bind-source="unblur_in_overview" bind-property="state" bind-flags="sync-create" />
  107. <child>
  108. <object class="GtkSwitch" id="hidetopbar_compatibility">
  109. <property name="valign">center</property>
  110. </object>
  111. </child>
  112. </object>
  113. </child>
  114. <child>
  115. <object class="AdwActionRow">
  116. <property name="title" translatable="yes">Blur original panel with Dash to Panel</property>
  117. <property name="subtitle" translatable="yes">Enables the blurring of the original panel with Dash to Panel, if selected in the extension's options.</property>
  118. <property name="activatable-widget">dtp_blur_original_panel</property>
  119. <child>
  120. <object class="GtkSwitch" id="dtp_blur_original_panel">
  121. <property name="valign">center</property>
  122. </object>
  123. </child>
  124. </object>
  125. </child>
  126. </object>
  127. </child>
  128. </template>
  129. <object class="GtkStringList" id="style_panel_model">
  130. <items>
  131. <item translatable="yes">Transparent</item>
  132. <item translatable="yes">Light</item>
  133. <item translatable="yes">Dark</item>
  134. <item translatable="yes">Contrasted</item>
  135. </items>
  136. </object>
  137. </interface>