forked from Shinonome/dots-hyprland
Removed settings and configs for battery health
This commit is contained in:
@@ -86,7 +86,7 @@ StyledPopup {
|
||||
|
||||
RowLayout {
|
||||
spacing: 5
|
||||
visible: Config.options.battery.showHealth && Battery.health > 0
|
||||
visible: Battery.health > 0
|
||||
Layout.fillWidth: true
|
||||
|
||||
MaterialSymbol {
|
||||
|
||||
@@ -257,7 +257,6 @@ Singleton {
|
||||
property int full: 101
|
||||
property bool automaticSuspend: true
|
||||
property int suspend: 3
|
||||
property bool showHealth: false
|
||||
}
|
||||
|
||||
property JsonObject conflictKiller: JsonObject {
|
||||
|
||||
@@ -127,14 +127,6 @@ ContentPage {
|
||||
}
|
||||
}
|
||||
}
|
||||
ConfigSwitch {
|
||||
buttonIcon: "healing"
|
||||
text: Translation.tr('Show battery health in popup')
|
||||
checked: Config.options.battery.showHealth
|
||||
onCheckedChanged: {
|
||||
Config.options.battery.showHealth = checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ContentSection {
|
||||
|
||||
Reference in New Issue
Block a user