qs: fix hyprland dispatchers

This commit is contained in:
end-4
2026-05-11 23:45:44 +02:00
parent 6c041b953a
commit 760c7034aa
10 changed files with 27 additions and 33 deletions
@@ -109,7 +109,7 @@ Singleton {
{
action: "wallpaper",
execute: () => {
Hyprland.dispatch("global quickshell:wallpaperSelectorToggle")
Hyprland.dispatch(`hl.dsp.global("quickshell:wallpaperSelectorToggle")`)
}
},
{
@@ -12,8 +12,8 @@ float overlayOpacityForBrightness(float x) {
// float y = pow(x, 2.0) * 0.75;
// float y = (1.0 - exp(-x))*1.15;
// 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);
}