Prepare for wallust integration

This commit is contained in:
Ly-sec 2025-08-12 18:03:09 +02:00
parent 4ebc4cd299
commit 032547c46e
3 changed files with 76 additions and 1 deletions

View file

@ -61,7 +61,7 @@ ColumnLayout {
NText {
text: "Path to your wallpaper folder"
font.pointSize: 12
font.pointSize: Style.fontSizeSmall * scaling
color: Colors.textSecondary
wrapMode: Text.WordWrap
Layout.fillWidth: true

View file

@ -0,0 +1,28 @@
{
"backgroundPrimary": "{{ background }}",
"backgroundSecondary": "{{ background | lighten(0.05) }}",
"backgroundTertiary": "{{ background | lighten(0.1) }}",
"surface": "{{ background | lighten(0.08) }}",
"surfaceVariant": "{{ background | lighten(0.15) }}",
"textPrimary": "{{ foreground }}",
"textSecondary": "{{ foreground | darken(0.1) }}",
"textDisabled": "{{ foreground | darken(0.4) }}",
"accentPrimary": "{{ color4 }}",
"accentSecondary": "{{ color4 | lighten(0.2) }}",
"accentTertiary": "{{ color4 | darken(0.2) }}",
"error": "{{ color5 | lighten(0.1) }}",
"warning": "{{ color5 | lighten(0.3) }}",
"highlight": "{{ color4 | lighten(0.4) }}",
"rippleEffect": "{{ color4 | lighten(0.1) }}",
"onAccent": "{{ background }}",
"outline": "{{ background | lighten(0.3) }}",
"shadow": "{{ background }}",
"overlay": "{{ background }}"
}

47
Templates/wallust.toml Normal file
View file

@ -0,0 +1,47 @@
# wallust v3.4
#
# You can copy this file to ~/.config/wallust/wallust.toml (keep in mind is a sample config)
# SIMPLE TUTORIAL, or `man wallust.5`:
# https://explosion-mental.codeberg.page/wallust/
#
# If comming from v2: https://explosion-mental.codeberg.page/wallust/v3.html#wallusttoml
# Global section - values below can be overwritten by command line flags
# How the image is parse, in order to get the colors:
# full - resized - wal - thumb - fastresize - kmeans
backend = "fastresize"
# What color space to use to produce and select the most prominent colors:
# lab - labmixed - lch - lchmixed
color_space = "lch"
# Use the most prominent colors in a way that makes sense, a scheme color palette:
# dark - dark16 - darkcomp - darkcomp16
# light - light16 - lightcomp - lightcomp16
# harddark - harddark16 - harddarkcomp - harddarkcomp16
# softdark - softdark16 - softdarkcomp - softdarkcomp16
# softlight - softlight16 - softlightcomp - softlightcomp16
palette = "dark"
# Ensures a "readable contrast" (OPTIONAL, disabled by default)
# Should only be enabled when you notice an unreadable contrast frequently happening
# with your images. The reference color for the contrast is the background color.
#check_contrast = true
# Color saturation, between [1% and 100%] (OPTIONAL, disabled by default)
# usually something higher than 50 increases the saturation and below
# decreases it (on a scheme with strong and vivid colors)
#saturation = 35
# Alpha value for templating, by default 100 (no other use whatsoever)
#alpha = 100
[templates]
# NOTE: prefer '' over "" for paths, avoids escaping.
# template: A RELATIVE path that points to `~/.config/wallust/template` (depends on platform)
# target: ABSOLUTE path in which to place a file with generated templated values.
# ¡ If either one is a directory, then both SHOULD be one. !
# zathura = { template = 'zathura', target = '~/.config/zathura/zathurarc' }
Noctalia = { template = 'noctalia.json', target = '~/.config/noctalia/Theme.json' }