forked from Shinonome/dots-hyprland
qs: fix hyprland dispatchers
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")`)
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user