forked from Shinonome/dots-hyprland
settings: add hiding and bottom position options
This commit is contained in:
@@ -96,6 +96,23 @@ ContentPage {
|
|||||||
|
|
||||||
ContentSubsection {
|
ContentSubsection {
|
||||||
title: Translation.tr("Overall appearance")
|
title: Translation.tr("Overall appearance")
|
||||||
|
ConfigRow {
|
||||||
|
uniform: true
|
||||||
|
ConfigSwitch {
|
||||||
|
text: Translation.tr("Automatically hide")
|
||||||
|
checked: Config.options.bar.autoHide.enable
|
||||||
|
onCheckedChanged: {
|
||||||
|
Config.options.bar.autoHide.enable = checked;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ConfigSwitch {
|
||||||
|
text: Translation.tr("Place at the bottom")
|
||||||
|
checked: Config.options.bar.bottom
|
||||||
|
onCheckedChanged: {
|
||||||
|
Config.options.bar.bottom = checked;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
ConfigRow {
|
ConfigRow {
|
||||||
uniform: true
|
uniform: true
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
|||||||
Reference in New Issue
Block a user