add configuration files
This commit is contained in:
@@ -0,0 +1,405 @@
|
||||
{
|
||||
"layout": {
|
||||
"type": "layout",
|
||||
"pages": [
|
||||
"General",
|
||||
"Style"
|
||||
],
|
||||
"General": {
|
||||
"type": "page",
|
||||
"title": "General",
|
||||
"sections": [
|
||||
"general",
|
||||
"display_mode",
|
||||
"low_alert",
|
||||
"advanced"
|
||||
]
|
||||
},
|
||||
"Style": {
|
||||
"type": "page",
|
||||
"title": "Style",
|
||||
"sections": [
|
||||
"bam_normal",
|
||||
"bam_discharging",
|
||||
"bam_alert",
|
||||
"bam_alert_discharging",
|
||||
"bam_limit_exceeded",
|
||||
"bam_limit_exceeded2"
|
||||
]
|
||||
},
|
||||
"general": {
|
||||
"type": "section",
|
||||
"title": "General Settings",
|
||||
"keys": [
|
||||
"refreshInterval-spinner",
|
||||
"alertPercentage",
|
||||
"recharged_alert",
|
||||
"recharged_alert_percentage"
|
||||
]
|
||||
},
|
||||
"display_mode": {
|
||||
"type": "section",
|
||||
"title": "Display Options",
|
||||
"keys": [
|
||||
"displayType",
|
||||
"iconTheme",
|
||||
"time_remaining_display",
|
||||
"time_remaining_toolbar",
|
||||
"time_remaining_tooltip"
|
||||
]
|
||||
},
|
||||
"low_alert": {
|
||||
"type": "section",
|
||||
"title": "Battery Low Alert Settings",
|
||||
"keys": [
|
||||
"useBatteryLowSound",
|
||||
"chooseBatteryLowSound",
|
||||
"batteryLowSound",
|
||||
"batteryShutdownSound",
|
||||
"notifyBatteryLowSound"
|
||||
]
|
||||
},
|
||||
"advanced": {
|
||||
"type": "section",
|
||||
"title": "Advanced",
|
||||
"keys": [
|
||||
"customBatteryPath"
|
||||
]
|
||||
},
|
||||
"bam_normal": {
|
||||
"type": "section",
|
||||
"title": "Normal",
|
||||
"keys": [
|
||||
"normal_background_color",
|
||||
"normal_border_color",
|
||||
"normal_font_size"
|
||||
]
|
||||
},
|
||||
"bam_discharging": {
|
||||
"type": "section",
|
||||
"title": "Discharging",
|
||||
"keys": [
|
||||
"discharging_background_color",
|
||||
"discharging_border_color",
|
||||
"discharging_font_size"
|
||||
]
|
||||
},
|
||||
"bam_alert": {
|
||||
"type": "section",
|
||||
"title": "Alert",
|
||||
"keys": [
|
||||
"alert_background_color",
|
||||
"alert_border_color",
|
||||
"alert_font_size"
|
||||
]
|
||||
},
|
||||
"bam_alert_discharging": {
|
||||
"type": "section",
|
||||
"title": "Alert Discharging",
|
||||
"keys": [
|
||||
"alert_discharging_background_color",
|
||||
"alert_discharging_border_color",
|
||||
"alert_discharging_font_size"
|
||||
]
|
||||
},
|
||||
"bam_limit_exceeded": {
|
||||
"type": "section",
|
||||
"title": "Limit Exceeded",
|
||||
"keys": [
|
||||
"limit_exceeded_background_color",
|
||||
"limit_exceeded_border_color",
|
||||
"limit_exceeded_font_size"
|
||||
]
|
||||
},
|
||||
"bam_limit_exceeded2": {
|
||||
"type": "section",
|
||||
"title": "Limit Exceeded - Critical",
|
||||
"keys": [
|
||||
"limit_exceeded2_background_color",
|
||||
"limit_exceeded2_border_color",
|
||||
"limit_exceeded2_font_size"
|
||||
]
|
||||
}
|
||||
},
|
||||
"refreshInterval-spinner": {
|
||||
"type": "spinbutton",
|
||||
"default": 2,
|
||||
"min": 1,
|
||||
"max": 300,
|
||||
"step": 1,
|
||||
"units": "seconds",
|
||||
"description": "Refresh Interval for Display",
|
||||
"tooltip": "Increase or decrease this spinner value to change the refresh interval - use a slow refresh if you have a slow machine. This also governs the flash speed.",
|
||||
"value": 2
|
||||
},
|
||||
"alertPercentage": {
|
||||
"type": "spinbutton",
|
||||
"default": 25,
|
||||
"min": 10,
|
||||
"max": 40,
|
||||
"step": 5,
|
||||
"units": "%",
|
||||
"description": "Percentage Battery Charge at which Alert Displayed",
|
||||
"tooltip": "Percentage of Battery Charge at which Orange Warning Background is displayed - It is also shown and can be adjusted in the Applet left click menu",
|
||||
"value": 10
|
||||
},
|
||||
"recharged_alert": {
|
||||
"type": "checkbox",
|
||||
"default": false,
|
||||
"description": "Visible Alert when Recharging",
|
||||
"tooltip": "Provide visible alert when battery is recharged to a certain threshold",
|
||||
"value": true
|
||||
},
|
||||
"recharged_alert_percentage": {
|
||||
"type": "spinbutton",
|
||||
"default": 80,
|
||||
"min": 45,
|
||||
"max": 100,
|
||||
"step": 5,
|
||||
"units": "%",
|
||||
"description": "Percentage threshold for visible recharged alert",
|
||||
"dependency": "recharged_alert",
|
||||
"value": 90
|
||||
},
|
||||
"displayType": {
|
||||
"type": "combobox",
|
||||
"default": "classic",
|
||||
"options": {
|
||||
"Classic": "classic",
|
||||
"Classic Plus": "classicPlus",
|
||||
"Compact": "compact",
|
||||
"Compact Plus": "compactPlus",
|
||||
"Icon Only": "icon"
|
||||
},
|
||||
"description": "Toolbar Display Type",
|
||||
"tooltip": "The following display options are available (including Compact, Compact Plus, and Icon Only for vertical panels):\n Classic: Battery percentage with extended messages for horizontal panel\n Classic Plus: Classic with the addition of a battery icon\n Compact: Battery percentage without extended messages\n Compact Plus: Compact with the addition of a battery icon\n Icon Only: The battery icon on a colored background indicating the current status",
|
||||
"value": "compactPlus"
|
||||
},
|
||||
"iconTheme": {
|
||||
"type": "combobox",
|
||||
"default": "classic",
|
||||
"options": {
|
||||
"Classic": "classic",
|
||||
"Yaru Light": "yaru-light",
|
||||
"Yaru Dark": "yaru-dark"
|
||||
},
|
||||
"description": "Icon Theme",
|
||||
"tooltip": "Icon Theme",
|
||||
"value": "yaru-dark"
|
||||
},
|
||||
"time_remaining_display": {
|
||||
"type": "checkbox",
|
||||
"default": false,
|
||||
"description": "Append estimated time remaining to chosen display type",
|
||||
"tooltip": "This will append an estimate to the above option for time remaining based on the amount of remaining battery power",
|
||||
"value": false
|
||||
},
|
||||
"time_remaining_toolbar": {
|
||||
"type": "checkbox",
|
||||
"default": false,
|
||||
"description": "Append estimated time remaining to toolbar menu",
|
||||
"tooltip": "This will append an estimate to the toolbar menu for time remaining based on the amount of remaining battery power",
|
||||
"value": true
|
||||
},
|
||||
"time_remaining_tooltip": {
|
||||
"type": "checkbox",
|
||||
"default": false,
|
||||
"description": "Append estimated time remaining to tooltip",
|
||||
"tooltip": "This will append an estimate to the tooltip for time remaining based on the amount of remaining battery power",
|
||||
"value": true
|
||||
},
|
||||
"useBatteryLowSound": {
|
||||
"type": "checkbox",
|
||||
"default": false,
|
||||
"description": "Provide audible alerts when Battery Low and at Shutdown Level",
|
||||
"tooltip": "Must have `sox` installed. Limited number of sound file types supported (.oga and .wav)",
|
||||
"value": false
|
||||
},
|
||||
"chooseBatteryLowSound": {
|
||||
"type": "checkbox",
|
||||
"default": false,
|
||||
"description": "Allow choice of audible alert file when Battery Low and at Shutdown Level",
|
||||
"tooltip": "Must have `sox` installed. Limited number of sound file types supported in versions < 4.2",
|
||||
"value": false
|
||||
},
|
||||
"batteryLowSound": {
|
||||
"type": "soundfilechooser",
|
||||
"default": "/usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga",
|
||||
"dependency": "chooseBatteryLowSound",
|
||||
"description": "Choose sound file to use when Battery is Low",
|
||||
"tooltip": "Please ensure the volume is set sensibly in public places, especially if a long or loud file is specified",
|
||||
"event-sounds": false,
|
||||
"value": "/usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga"
|
||||
},
|
||||
"batteryShutdownSound": {
|
||||
"type": "soundfilechooser",
|
||||
"default": "/usr/share/sounds/freedesktop/stereo/complete.oga",
|
||||
"dependency": "chooseBatteryLowSound",
|
||||
"description": "Sound file to use when Battery is at Shutdown Level",
|
||||
"tooltip": "Please ensure the volume is set sensibly in public places - do not specify a long or loud file at Shutdown",
|
||||
"event-sounds": false,
|
||||
"value": "/usr/share/sounds/freedesktop/stereo/complete.oga"
|
||||
},
|
||||
"notifyBatteryLowSound": {
|
||||
"type": "checkbox",
|
||||
"default": true,
|
||||
"dependency": "chooseBatteryLowSound",
|
||||
"description": "Provide notification when user specified sound file is in use (Recommended)",
|
||||
"tooltip": "To remind that the volume may need to be set sensibly in public places",
|
||||
"value": true
|
||||
},
|
||||
"customBatteryPath": {
|
||||
"default": "",
|
||||
"type": "filechooser",
|
||||
"description": "Path to battery capacity directory (device path)",
|
||||
"tooltip": "Choose your own power_supply object e.g. for monitoring your secondary battery.\n\nDefault:\n/sys/class/power_supply/BAT0",
|
||||
"allow-none": true,
|
||||
"select-dir": true,
|
||||
"value": ""
|
||||
},
|
||||
"normal_background_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Background Color",
|
||||
"default": "rgba(0, 255, 0, 0.3)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(0,0,0,0)"
|
||||
},
|
||||
"normal_border_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Border Color",
|
||||
"default": "rgba(0, 255, 0, 0.5)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(0,0,0,0)"
|
||||
},
|
||||
"normal_font_size": {
|
||||
"type": "spinbutton",
|
||||
"default": 95,
|
||||
"min": 0,
|
||||
"max": 200,
|
||||
"step": 5,
|
||||
"units": "%",
|
||||
"description": "Font Size",
|
||||
"value": 95
|
||||
},
|
||||
"discharging_background_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Background Color",
|
||||
"default": "rgba(0, 255, 0, 0.3)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(0,0,0,0)"
|
||||
},
|
||||
"discharging_border_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Border Color",
|
||||
"default": "rgba(255, 0, 0, 1)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(0,0,0,0)"
|
||||
},
|
||||
"discharging_font_size": {
|
||||
"type": "spinbutton",
|
||||
"default": 95,
|
||||
"min": 0,
|
||||
"max": 200,
|
||||
"step": 5,
|
||||
"units": "%",
|
||||
"description": "Font Size",
|
||||
"value": 95
|
||||
},
|
||||
"alert_background_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Background Color",
|
||||
"default": "rgba(255, 165, 0, 1)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(255, 165, 0, 1)"
|
||||
},
|
||||
"alert_border_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Border Color",
|
||||
"default": "rgba(255, 165, 0, 1)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(255, 165, 0, 1)"
|
||||
},
|
||||
"alert_font_size": {
|
||||
"type": "spinbutton",
|
||||
"default": 95,
|
||||
"min": 0,
|
||||
"max": 200,
|
||||
"step": 5,
|
||||
"units": "%",
|
||||
"description": "Font Size",
|
||||
"value": 95
|
||||
},
|
||||
"alert_discharging_background_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Background Color",
|
||||
"default": "rgba(255, 255, 255, 1)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(255, 255, 255, 1)"
|
||||
},
|
||||
"alert_discharging_border_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Border Color",
|
||||
"default": "rgba(255, 0, 0, 1)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(255, 0, 0, 1)"
|
||||
},
|
||||
"alert_discharging_font_size": {
|
||||
"type": "spinbutton",
|
||||
"default": 95,
|
||||
"min": 0,
|
||||
"max": 200,
|
||||
"step": 5,
|
||||
"units": "%",
|
||||
"description": "Font Size",
|
||||
"value": 95
|
||||
},
|
||||
"limit_exceeded_background_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Background Color",
|
||||
"default": "rgba(255, 0, 0, 1)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(255, 0, 0, 1)"
|
||||
},
|
||||
"limit_exceeded_border_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Border Color",
|
||||
"default": "rgba(255, 0, 0, 0)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(255, 0, 0, 0)"
|
||||
},
|
||||
"limit_exceeded_font_size": {
|
||||
"type": "spinbutton",
|
||||
"default": 95,
|
||||
"min": 0,
|
||||
"max": 200,
|
||||
"step": 5,
|
||||
"units": "%",
|
||||
"description": "Font Size",
|
||||
"value": 95
|
||||
},
|
||||
"limit_exceeded2_background_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Background Color",
|
||||
"default": "rgba(255, 255, 255, 1)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(255, 255, 255, 1)"
|
||||
},
|
||||
"limit_exceeded2_border_color": {
|
||||
"type": "colorchooser",
|
||||
"description": "Border Color",
|
||||
"default": "rgba(255, 255, 255, 0)",
|
||||
"tooltip": "RGB or RGBA",
|
||||
"value": "rgba(255, 255, 255, 0)"
|
||||
},
|
||||
"limit_exceeded2_font_size": {
|
||||
"type": "spinbutton",
|
||||
"default": 95,
|
||||
"min": 0,
|
||||
"max": 200,
|
||||
"step": 5,
|
||||
"units": "%",
|
||||
"description": "Font Size",
|
||||
"value": 95
|
||||
},
|
||||
"__md5__": "08aaf366bc8c8ee10f323cbae4657696"
|
||||
}
|
||||
Reference in New Issue
Block a user