forked from Shinonome/dots-hyprland
settings: make edit config button clearer
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user