prefs.ui 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <interface domain="grimble@lmt.github.io">
  3. <object class="AdwPreferencesPage" id="general">
  4. <property name="title" translatable="yes"
  5. comments="Translators: This is the name of a tab in the prefs window">General</property>
  6. <property name="icon-name">view-app-grid-symbolic</property>
  7. <!-- ======================================================================================== -->
  8. <!-- = Group: General ======================================================================= -->
  9. <!-- ======================================================================================== -->
  10. <child>
  11. <object class="AdwPreferencesGroup">
  12. <property name="title" translatable="yes"
  13. comments="Translators: This is the header for a preference group in the 'General' tab">Appearance</property>
  14. <!-- <child>
  15. <object class="AdwSwitchRow" id="header_bar">
  16. <property name="title" translatable="yes" comments="Translators: This is the name of setting to
  17. enable/disable window header bar in the 'General' tab">Hide window header bar</property>
  18. </object>
  19. </child> -->
  20. <child>
  21. <object class="AdwSpinRow" id="tile_padding">
  22. <property name="title" translatable="yes"
  23. comments="Translators: This is the name of setting to set tile padding in the 'General' tab">Tile padding</property>
  24. <property name="adjustment">
  25. <object class="GtkAdjustment">
  26. <property name="upper">30</property>
  27. <property name="step-increment">1</property>
  28. <property name="page-increment">2</property>
  29. </object>
  30. </property>
  31. </object>
  32. </child>
  33. </object>
  34. </child>
  35. <child>
  36. <object class="AdwPreferencesGroup">
  37. <property name="title" translatable="yes"
  38. comments="Translators: This is the header for the insertion group in the 'General' tab">Search bar position</property>
  39. <child>
  40. <object class="AdwActionRow" id="search_entry_left">
  41. <property name="title" translatable="yes"
  42. comments="Translators: This setting is under the preference group 'Tile insertion' in the 'General' tab">Left</property>
  43. <property name="activatable-widget">search_bar_position</property>
  44. <child type="prefix">
  45. <object class="GtkCheckButton" id="search_bar_position" />
  46. </child>
  47. </object>
  48. </child>
  49. <child>
  50. <object class="AdwActionRow" id="search_entry_center">
  51. <property name="title" translatable="yes"
  52. comments="Translators: This setting is under the preference group 'Tile insertion' in the 'General' tab">Center</property>
  53. <property name="activatable-widget">search_entry_center_button</property>
  54. <child type="prefix">
  55. <object class="GtkCheckButton" id="search_entry_center_button">
  56. <property name="group">search_bar_position</property>
  57. </object>
  58. </child>
  59. </object>
  60. </child>
  61. <child>
  62. <object class="AdwActionRow" id="search_entry_right">
  63. <property name="title" translatable="yes"
  64. comments="Translators: This setting is under the preference group 'Tile insertion' in the 'General' tab">Right</property>
  65. <property name="activatable-widget">search_entry_right_button</property>
  66. <child type="prefix">
  67. <object class="GtkCheckButton" id="search_entry_right_button">
  68. <property name="group">search_bar_position</property>
  69. </object>
  70. </child>
  71. </object>
  72. </child>
  73. </object>
  74. </child>
  75. <child>
  76. <object class="AdwPreferencesGroup">
  77. <property name="title" translatable="yes" comments="Translators: This is the header for the insertion group in the 'General' tab">Multiple monitors</property>
  78. <property name="description" translatable="yes" comments="Translators: This is the explanation for the preference group 'Multiple monitors' in the 'General' tab">Defines tile insertion behavior while using multiple monitors.</property>
  79. <child>
  80. <object class="AdwActionRow" id="monitors_best_fit_row">
  81. <property name="title" translatable="yes" comments="Translators: This setting is under the preference group 'Multiple monitors' in the 'General' tab">Best fit</property>
  82. <property name="subtitle" translatable="yes" comments="Translators: This is an explanation for the 'Best fit' option for the 'Multiple monitors' in the 'General' tab">Selects the least filled monitor.</property>
  83. <property name="activatable-widget">monitors_best_fit_button</property>
  84. <child type="prefix">
  85. <object class="GtkCheckButton" id="monitors_best_fit_button"/>
  86. </child>
  87. </object>
  88. </child>
  89. <child>
  90. <object class="AdwActionRow" id="monitors_focus_row">
  91. <property name="title" translatable="yes" comments="Translators: This setting is under the preference group 'Multiple monitors' in the 'General' tab">Focus</property>
  92. <property name="subtitle" translatable="yes" comments="Translators: This is an explanation for the 'Focus' option for the 'Multiple monitors' in the 'General' tab">Selects the focused monitor.</property>
  93. <property name="activatable-widget">monitors_focus_button</property>
  94. <child type="prefix">
  95. <object class="GtkCheckButton" id="monitors_focus_button">
  96. <property name="group">monitors_best_fit_button</property>
  97. </object>
  98. </child>
  99. </object>
  100. </child>
  101. </object>
  102. </child>
  103. <child>
  104. <object class="AdwPreferencesGroup">
  105. <property name="title" translatable="yes" comments="Translators: This is the header for the fullscreen group in the 'General' tab">Fullscreen behavior</property>
  106. <property name="description" translatable="yes" comments="Translators: This is the explanation for the preference group 'Fullscreen behavior' in the 'General' tab">You can either stay in fullscreen when switching between two windows (default) or quit the fullscreen mode.</property>
  107. <child>
  108. <object class="AdwActionRow" id="keep_fullscreen">
  109. <property name="title" translatable="yes" comments="Translators: This setting is under the preference group 'Multiple monitors' in the 'General' tab">Keep fullscreen</property>
  110. <property name="activatable-widget">fullscreen_keep_button</property>
  111. <child type="prefix">
  112. <object class="GtkCheckButton" id="fullscreen_keep_button"/>
  113. </child>
  114. </object>
  115. </child>
  116. <child>
  117. <object class="AdwActionRow" id="quit_fullscreen">
  118. <property name="title" translatable="yes" comments="Translators: This setting is under the preference group 'Multiple monitors' in the 'General' tab">Quit fullscreen</property>
  119. <property name="activatable-widget">fullscreen_quit_button</property>
  120. <child type="prefix">
  121. <object class="GtkCheckButton" id="fullscreen_quit_button">
  122. <property name="group">fullscreen_keep_button</property>
  123. </object>
  124. </child>
  125. </object>
  126. </child>
  127. </object>
  128. </child>
  129. </object>
  130. <!-- ======================================================================================== -->
  131. <!-- = Page: Keybindings ==================================================================== -->
  132. <!-- ======================================================================================== -->
  133. <object class="AdwPreferencesPage" id="keybindings">
  134. <property name="title" translatable="yes"
  135. comments="Translators: This is the name of a tab in the prefs window">Keybindings</property>
  136. <property name="icon-name">preferences-desktop-keyboard-symbolic</property>
  137. <!-- ======================================================================================== -->
  138. <!-- = Group: General ======================================================================= -->
  139. <!-- ======================================================================================== -->
  140. <child>
  141. <object class="AdwPreferencesGroup">
  142. <child>
  143. <object class="AdwComboRow" id="keybinding_config">
  144. <property name="title" translatable="yes">Configuration</property>
  145. <property name="model">
  146. <object class="GtkStringList">
  147. <items>
  148. <item translatable="yes">None</item>
  149. <item translatable="yes">i3</item>
  150. <item translatable="yes">Grimble</item>
  151. <item translatable="yes">Custom</item>
  152. </items>
  153. </object>
  154. </property>
  155. </object>
  156. </child>
  157. </object>
  158. </child>
  159. <child>
  160. <object class="AdwPreferencesGroup">
  161. <property name="title" translatable="yes"
  162. comments="Translators: This is a header for a preference group in the 'Keybindings' tab">General</property>
  163. <child>
  164. <object class="ShortcutListener" id="keybinding_close">
  165. <property name="title" translatable="yes"
  166. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to close tile">Close tile</property>
  167. </object>
  168. </child>
  169. <child>
  170. <object class="ShortcutListener" id="keybinding_search">
  171. <property name="title" translatable="yes"
  172. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to open search bar">Search bar</property>
  173. </object>
  174. </child>
  175. <child>
  176. <object class="ShortcutListener" id="keybinding_open_settings">
  177. <property name="title" translatable="yes"
  178. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to open settings">Grimble settings</property>
  179. </object>
  180. </child>
  181. <child>
  182. <object class="ShortcutListener" id="keybinding_maximize">
  183. <property name="title" translatable="yes"
  184. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to maximize">Maximize tile</property>
  185. </object>
  186. </child>
  187. </object>
  188. </child>
  189. <child>
  190. <object class="AdwPreferencesGroup">
  191. <property name="title" translatable="yes"
  192. comments="Translators: This is a header for a preference group in the 'Keybindings' tab">Tile Focus</property>
  193. <child>
  194. <object class="ShortcutListener" id="keybinding_focus">
  195. <property name="title" translatable="yes"
  196. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut change focus">Change focus</property>
  197. <property name="subtitle" translatable="yes" comments="Translators: This is the explanation for the keybinding 'Move tile' in the 'Tile movement' preference group in the 'Keybindings' tab">Press this shortcut, then use directional arrows to change the focus. Press `Escape` to abort.</property>
  198. </object>
  199. </child>
  200. <child>
  201. <object class="ShortcutListener" id="keybinding_focus_left">
  202. <property name="title" translatable="yes"
  203. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut change focus left">Focus left</property>
  204. </object>
  205. </child>
  206. <child>
  207. <object class="ShortcutListener" id="keybinding_focus_right">
  208. <property name="title" translatable="yes"
  209. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut change focus right">Focus right</property>
  210. </object>
  211. </child>
  212. <child>
  213. <object class="ShortcutListener" id="keybinding_focus_top">
  214. <property name="title" translatable="yes"
  215. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut change focus top">Focus Up</property>
  216. </object>
  217. </child>
  218. <child>
  219. <object class="ShortcutListener" id="keybinding_focus_bottom">
  220. <property name="title" translatable="yes"
  221. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut change focus bottom">Focus Down</property>
  222. </object>
  223. </child>
  224. </object>
  225. </child>
  226. <!-- Tile movement -->
  227. <child>
  228. <object class="AdwPreferencesGroup">
  229. <property name="title" translatable="yes"
  230. comments="Translators: This is a header for a preference group in the 'Keybindings' tab">Tile movement</property>
  231. <child>
  232. <object class="ShortcutListener" id="keybinding_move">
  233. <property name="title" translatable="yes"
  234. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut move tile">Move tile</property>
  235. <property name="subtitle" translatable="yes" comments="Translators: This is the explanation for the keybinding 'Move tile' in the 'Tile movement' preference group in the 'Keybindings' tab">Press this shortcut, then use a directional arrow to move a tile. Press `Escape` to abort.</property>
  236. </object>
  237. </child>
  238. <child>
  239. <object class="ShortcutListener" id="keybinding_move_left">
  240. <property name="title" translatable="yes"
  241. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to move left">Move Left</property>
  242. </object>
  243. </child>
  244. <child>
  245. <object class="ShortcutListener" id="keybinding_move_right">
  246. <property name="title" translatable="yes"
  247. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to move right">Move Right</property>
  248. </object>
  249. </child>
  250. <child>
  251. <object class="ShortcutListener" id="keybinding_move_top">
  252. <property name="title" translatable="yes"
  253. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to move top">Move Up</property>
  254. </object>
  255. </child>
  256. <child>
  257. <object class="ShortcutListener" id="keybinding_move_bottom">
  258. <property name="title" translatable="yes"
  259. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to move bottom">Move Down</property>
  260. </object>
  261. </child>
  262. <child>
  263. <object class="ShortcutListener" id="keybinding_rotation">
  264. <property name="title" translatable="yes"
  265. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut tile rotation">Tile Rotation</property>
  266. </object>
  267. </child>
  268. <child>
  269. <object class="ShortcutListener" id="keybinding_next_workspace">
  270. <property name="title" translatable="yes"
  271. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut tile rotation">Switch to next workspace</property>
  272. </object>
  273. </child>
  274. <child>
  275. <object class="ShortcutListener" id="keybinding_previous_workspace">
  276. <property name="title" translatable="yes"
  277. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut tile rotation">Switch to previous workspace</property>
  278. </object>
  279. </child>
  280. </object>
  281. </child>
  282. <!-- Tile resizing -->
  283. <child>
  284. <object class="AdwPreferencesGroup">
  285. <property name="title" translatable="yes"
  286. comments="Translators: This is a header for a preference group in the 'Keybindings' tab">Tile resizing</property>
  287. <child>
  288. <object class="ShortcutListener" id="keybinding_resize">
  289. <property name="title" translatable="yes"
  290. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut tile resizing">Resize tile</property>
  291. <property name="subtitle" translatable="yes" comments="Translators: This is the explanation for the keybinding 'Move tile' in the 'Tile movement' preference group in the 'Keybindings' tab">Press this shortcut, then use directional arrows to resize a tile. Press `Escape` to abort.</property>
  292. </object>
  293. </child>
  294. <child>
  295. <object class="ShortcutListener" id="keybinding_resize_left">
  296. <property name="title" translatable="yes"
  297. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to move left">Resize Left</property>
  298. </object>
  299. </child>
  300. <child>
  301. <object class="ShortcutListener" id="keybinding_resize_right">
  302. <property name="title" translatable="yes"
  303. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to move right">Resize Right</property>
  304. </object>
  305. </child>
  306. <child>
  307. <object class="ShortcutListener" id="keybinding_resize_top">
  308. <property name="title" translatable="yes"
  309. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to move top">Resize Top</property>
  310. </object>
  311. </child>
  312. <child>
  313. <object class="ShortcutListener" id="keybinding_resize_bottom">
  314. <property name="title" translatable="yes"
  315. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to move bottom">Resize Bottom</property>
  316. </object>
  317. </child>
  318. </object>
  319. </child>
  320. <!-- Multiple monitors bindings -->
  321. <child>
  322. <object class="AdwPreferencesGroup">
  323. <property name="title" translatable="yes"
  324. comments="Translators: This is a header for a preference group in the 'Keybindings' tab">Multiple monitors</property>
  325. <property name="description" translatable="yes"
  326. comments="Translators: This is a header for a preference group in the 'Keybindings' tab">Keybindings related to multiple monitors actions.</property>
  327. <child>
  328. <object class="ShortcutListener" id="keybinding_next_monitor">
  329. <property name="title" translatable="yes"
  330. comments="Translators: This is a keybinding in the 'General' preference group in the 'Keybindings' tab that set shortcut to move bottom">Move tile to next monitor</property>
  331. </object>
  332. </child>
  333. </object>
  334. </child>
  335. </object>
  336. </interface>