only show konachan button and create homework folder when weeb

This commit is contained in:
end-4
2025-09-06 09:44:46 +02:00
parent e9c73ebb71
commit 801cd2e855
4 changed files with 11 additions and 1 deletions
@@ -23,6 +23,15 @@ Item {
property var suggestionQuery: ""
property var suggestionList: []
Connections {
target: Config
function onReadyChanged() {
if (Config.options.policies.weeb !== 0) {
Quickshell.execDetached(["bash", "-c", `mkdir -p '${root.downloadPath}' && mkdir -p '${root.nsfwPath}'`])
}
}
}
Connections {
target: Booru
function onTagSuggestion(query, suggestions) {