forked from Shinonome/dots-hyprland
welcome: more padding, add tooltips
This commit is contained in:
@@ -24,7 +24,7 @@ ApplicationWindow {
|
|||||||
id: root
|
id: root
|
||||||
property string firstRunFilePath: FileUtils.trimFileProtocol(`${Directories.state}/user/first_run.txt`)
|
property string firstRunFilePath: FileUtils.trimFileProtocol(`${Directories.state}/user/first_run.txt`)
|
||||||
property string firstRunFileContent: "This file is just here to confirm you've been greeted :>"
|
property string firstRunFileContent: "This file is just here to confirm you've been greeted :>"
|
||||||
property real contentPadding: 5
|
property real contentPadding: 8
|
||||||
property bool showNextTime: false
|
property bool showNextTime: false
|
||||||
visible: true
|
visible: true
|
||||||
onClosing: Qt.quit()
|
onClosing: Qt.quit()
|
||||||
@@ -250,7 +250,7 @@ ApplicationWindow {
|
|||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
color: Appearance.colors.colOnLayer0
|
color: Appearance.colors.colOnLayer0
|
||||||
text: "Yooooo hi there"
|
text: "Yooooo hi there"
|
||||||
font.pixelSize: Appearance.font.pixelSize.hugeass
|
font.pixelSize: Appearance.font.pixelSize.title
|
||||||
font.family: Appearance.font.family.title
|
font.family: Appearance.font.family.title
|
||||||
}
|
}
|
||||||
RowLayout { // Window controls row
|
RowLayout { // Window controls row
|
||||||
@@ -336,9 +336,15 @@ ApplicationWindow {
|
|||||||
console.log(konachanWallProc.command.join(" "))
|
console.log(konachanWallProc.command.join(" "))
|
||||||
konachanWallProc.running = true;
|
konachanWallProc.running = true;
|
||||||
}
|
}
|
||||||
|
StyledToolTip {
|
||||||
|
content: "Random SFW Anime wallpaper from Konachan\nImage is saved to ~/Pictures/Wallpapers"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ButtonWithIcon {
|
ButtonWithIcon {
|
||||||
iconText: "wallpaper"
|
iconText: "wallpaper"
|
||||||
|
StyledToolTip {
|
||||||
|
content: "Pick wallpaper image on your system"
|
||||||
|
}
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Hyprland.dispatch(`exec ${Directories.wallpaperSwitchScriptPath}`)
|
Hyprland.dispatch(`exec ${Directories.wallpaperSwitchScriptPath}`)
|
||||||
}
|
}
|
||||||
@@ -419,6 +425,9 @@ ApplicationWindow {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
ConfigLoader.setConfigValueAndSave("policies.weeb", value);
|
ConfigLoader.setConfigValueAndSave("policies.weeb", value);
|
||||||
}
|
}
|
||||||
|
StyledToolTip {
|
||||||
|
content: "The Anime tab on the left sidebar would still\nbe available, but its tab button won't show"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user