Add intellihide option to disable panel reveal with the pointer

gh-2123
This commit is contained in:
Charles Gagnon
2025-04-09 23:37:37 -04:00
parent 7a54518746
commit f0af17687f
4 changed files with 50 additions and 7 deletions

View File

@@ -107,6 +107,16 @@
<object class="AdwPreferencesGroup">
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Touching the edge of the monitor with the pointer reveals the panel</property>
<child>
<object class="GtkSwitch" id="intellihide_use_pointer_switch">
<property name="valign">center</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow" id="intellihide_use_pressure_options">
<property name="title" translatable="yes">Require pressure at the edge of the monitor to reveal the panel</property>
<child>
<object class="GtkSwitch" id="intellihide_use_pressure_switch">
@@ -116,7 +126,7 @@
</object>
</child>
<child>
<object class="AdwActionRow" id="intellihide_use_pressure_options">
<object class="AdwActionRow" id="intellihide_use_pressure_options2">
<property name="title" translatable="yes">Required pressure threshold (px)</property>
<child>
<object class="GtkSpinButton" id="intellihide_pressure_threshold_spinbutton">
@@ -130,7 +140,7 @@
</object>
</child>
<child>
<object class="AdwActionRow" id="intellihide_use_pressure_options2">
<object class="AdwActionRow" id="intellihide_use_pressure_options3">
<property name="title" translatable="yes">Required pressure timeout (ms)</property>
<child>
<object class="GtkSpinButton" id="intellihide_pressure_time_spinbutton">