forked from maniacx/Battery-Health-Charging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreference.ui
71 lines (71 loc) · 3.51 KB
/
preference.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="[email protected]">
<template class="BHC_Preferences" parent="AdwPreferencesPage">
<child>
<object class="AdwPreferencesGroup" id="settings_group">
<property name="title" translatable="yes">Settings</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Icon Style Type</property>
<property name="subtitle" translatable="yes">Choose the style of the icon</property>
<property name="activatable-widget">icon_style_mode</property>
<child>
<object class="GtkDropDown" id="icon_style_mode">
<property name="valign">center</property>
<property name="model">icon_style_model</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow" id="show_system_indicator_row">
<property name="title" translatable="yes">Show System Indicator</property>
<property name="subtitle" translatable="yes">Shows icon in system tray.</property>
<property name="activatable-widget">show_system_indicator</property>
<child>
<object class="GtkSwitch" id="show_system_indicator">
<property name="valign">center</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup" id="service_installer">
<property name="title" translatable="yes">Installation</property>
<child>
<object class="AdwExpanderRow" id="override_background">
<property name="title" translatable="yes">Install / Remove Service</property>
<child>
<object class="AdwActionRow" id="install_service_explaination_row">
<property name="subtitle" translatable="yes">For Battery Health Charging Extension to function properly, we need to install this systemd service. <b>Root privileges needed</b> to install or remove this service.

This systemd service will change the file permissions of <b><i>charge_control_end_threshold</i></b> on every boot, which is needed for this extension to work.

<b>Install</b> this service and continue using this extension.

<b>Remove</b> this service before uninstalling this extension.</property>
</object>
</child>
<child>
<object class="AdwActionRow" id="install_service_row">
<child>
<object class="GtkButton" id="install_service">
<property name="halign">start</property>
<property name="valign">center</property>
<property name="margin-start">6</property>
<child>
<object class="AdwButtonContent" id="install_service_button"></object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
<object class="GtkStringList" id="icon_style_model">
<items>
<item translatable="yes">Symbol and Percentage</item>
<item translatable="yes">Symbols Only</item>
<item translatable="yes">Percentage Highlighted</item>
</items>
</object>
</interface>