diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 310595e..73390c5 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -349,6 +349,7 @@ bind = , F6, exec, ~/.config/hypr/scripts/hyprsunset-toggle.sh bind = , F7, exec, hyprshade toggle ~/.config/hypr/shaders/vibrance.glsl bind = , F8, exec, hyprshade toggle ~/.config/hypr/shaders/grayscale.glsl bind = , F9, exec, hyprshade toggle ~/.config/hypr/shaders/invert-colors.glsl +bind = , F10, exec, hyprshade toggle ~/.config/hypr/shaders/waves.glsl # Touchpad ein/ausschalten (Fn+F7 = Ctrl+Super+F24 laut Firmware) bind = CTRL SUPER, F24, exec, /home/tekki/.config/hypr/scripts/touchpad-toggle.sh diff --git a/config/hypr/shaders/waves.glsl b/config/hypr/shaders/waves.glsl new file mode 100644 index 0000000..c94615e --- /dev/null +++ b/config/hypr/shaders/waves.glsl @@ -0,0 +1,18 @@ +#version 300 es +precision highp float; + +in vec2 v_texcoord; +uniform sampler2D tex; +uniform float time; +out vec4 fragColor; + +void main() { + vec2 uv = v_texcoord; + + // Drei überlagerte Wellen für natürlicheren Effekt + uv.y += sin(uv.x * 8.0 + time * 1.5) * 0.012; + uv.y += sin(uv.x * 14.0 - time * 2.0) * 0.006; + uv.x += sin(uv.y * 10.0 + time * 1.0) * 0.008; + + fragColor = texture(tex, uv); +} diff --git a/config/hypr/shortcuts.md b/config/hypr/shortcuts.md index b1e039d..920971d 100644 --- a/config/hypr/shortcuts.md +++ b/config/hypr/shortcuts.md @@ -50,3 +50,4 @@ | `F7` | Vibrance an/aus (Farben satter) | | `F8` | Graustufen an/aus | | `F9` | Farben invertieren an/aus | +| `F10` | Wellen-Effekt an/aus (animiert, GPU-intensiv) |