forked from Shinonome/dots-hyprland
Merge branch 'main' into hefty-hype
This commit is contained in:
@@ -109,7 +109,7 @@ Singleton {
|
||||
{
|
||||
action: "wallpaper",
|
||||
execute: () => {
|
||||
Hyprland.dispatch("global quickshell:wallpaperSelectorToggle")
|
||||
Hyprland.dispatch(`hl.dsp.global("quickshell:wallpaperSelectorToggle")`)
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -34,11 +34,6 @@ Singleton {
|
||||
signal thumbnailGeneratedFile(filePath: string)
|
||||
|
||||
function load () {} // For forcing initialization
|
||||
|
||||
// Executions
|
||||
Process {
|
||||
id: applyProc
|
||||
}
|
||||
|
||||
function openFallbackPicker(darkMode = Appearance.m3colors.darkmode) {
|
||||
Quickshell.execDetached([Directories.wallpaperSwitchScriptPath, "--mode", darkMode ? "dark" : "light"]);
|
||||
|
||||
@@ -12,8 +12,8 @@ float overlayOpacityForBrightness(float x) {
|
||||
// float y = pow(x, 2.0) * 0.75;
|
||||
float y = (1.0 - exp(-x))*1.19;
|
||||
// float y = (1.0 - exp(-pow((x-0.15), 0.6)))*1.18;
|
||||
// float y = x*0.75;
|
||||
|
||||
float y = x*0.75;
|
||||
return min(max(y, 0.001), 1.0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user