settings: make edit config button clearer

This commit is contained in:
end-4
2025-08-22 18:20:09 +07:00
parent 0cb1bc4ca5
commit 8c44dd6119
+2 -3
View File
@@ -158,15 +158,14 @@ ApplicationWindow {
FloatingActionButton {
id: fab
iconText: "edit"
buttonText: Translation.tr("Edit config")
buttonText: Translation.tr("Config file")
expanded: navRail.expanded
onClicked: {
Qt.openUrlExternally(`${Directories.config}/illogical-impulse/config.json`);
}
StyledToolTip {
extraVisibleCondition: !navRail.expanded
content: "Edit shell config file"
content: Translation.tr("Open the shell config file.\nIf the button doesn't work or doesn't open in your favorite editor,\nyou can manually open ~/.config/illogical-impulse/config.json")
}
}