forked from Shinonome/dots-hyprland
settings: make edit config button clearer
This commit is contained in:
@@ -158,15 +158,14 @@ ApplicationWindow {
|
|||||||
FloatingActionButton {
|
FloatingActionButton {
|
||||||
id: fab
|
id: fab
|
||||||
iconText: "edit"
|
iconText: "edit"
|
||||||
buttonText: Translation.tr("Edit config")
|
buttonText: Translation.tr("Config file")
|
||||||
expanded: navRail.expanded
|
expanded: navRail.expanded
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Qt.openUrlExternally(`${Directories.config}/illogical-impulse/config.json`);
|
Qt.openUrlExternally(`${Directories.config}/illogical-impulse/config.json`);
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledToolTip {
|
StyledToolTip {
|
||||||
extraVisibleCondition: !navRail.expanded
|
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")
|
||||||
content: "Edit shell config file"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user