-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtemplate.blp
61 lines (50 loc) · 1.62 KB
/
template.blp
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
using Gtk 4.0;
using Adw 1;
Adw.PreferencesPage prefs_page {
Adw.PreferencesGroup extension_menu_group {
title: _("Extension Menu");
Adw.EntryRow sysfs_path_entry {
title: _("Sysfs path of the ideapad_laptop dir");
Gtk.Button sysfs_reset_button {
valign: center;
icon-name: "view-refresh-symbolic";
}
}
Adw.ActionRow location_row {
title: _("Extension menu location");
subtitle: _("Choose where to place the extension menu.");
ComboBoxText location_combo {
valign: center;
items [
tray: _("Tray"),
system_menu: _("System Menu")
]
}
}
Adw.ActionRow settings_button_row {
title: _("Settings button");
subtitle: _("Enable to show Extension Settings button.");
Switch settings_button_switch {
valign: center;
}
}
Adw.ActionRow pkexec_button_row {
title: _("Use pkexec");
subtitle: _("Enable to make ideapad_laptop wrap its write commands with pkexec to request root privileges. Disable only if you have a proper permissions setup (see README for more details)");
Switch pkexec_button_switch {
valign: center;
}
}
Adw.ActionRow notifications_button_row {
title: _("Send success notifications");
subtitle: _("Enable to make the extension send notifications when it enables an option successfully");
Switch notifications_button_switch {
valign: center;
}
}
}
Adw.PreferencesGroup options_group {
title: _("Options");
description: _("Choose which options to keep in the extension menu.");
}
}