From 55668c1fb0aa852ebd054ce0ca4192abf3de75da Mon Sep 17 00:00:00 2001 From: tekki Date: Thu, 23 Apr 2026 20:59:43 +0200 Subject: [PATCH] =?UTF-8?q?revert:=20waves=20shader=20und=20toggle=20entfe?= =?UTF-8?q?rnt=20(kein=20time-uniform=20auf=20diesem=20Ger=C3=A4t)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/hypr/hyprland.conf | 1 - config/hypr/scripts/waves-toggle.sh | 11 ----------- config/hypr/shaders/waves.glsl | 18 ------------------ config/hypr/shortcuts.md | 1 - config/wal/generate.py | 3 ++- config/waybar/config.jsonc | 8 ++++---- 6 files changed, 6 insertions(+), 36 deletions(-) delete mode 100755 config/hypr/scripts/waves-toggle.sh delete mode 100644 config/hypr/shaders/waves.glsl diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index ba84f66..310595e 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -349,7 +349,6 @@ 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, ~/.config/hypr/scripts/waves-toggle.sh # 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/scripts/waves-toggle.sh b/config/hypr/scripts/waves-toggle.sh deleted file mode 100755 index 452ed9a..0000000 --- a/config/hypr/scripts/waves-toggle.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -SHADER="$HOME/.config/hypr/shaders/waves.glsl" -CURRENT=$(hyprctl getoption decoration:screen_shader | grep "str:" | awk '{print $2}' | tr -d '"') - -if [[ "$CURRENT" == "$SHADER" ]]; then - hyprshade off - hyprctl keyword debug:damage_tracking 2 -else - hyprctl keyword debug:damage_tracking 0 - hyprshade on "$SHADER" -fi diff --git a/config/hypr/shaders/waves.glsl b/config/hypr/shaders/waves.glsl deleted file mode 100644 index c94615e..0000000 --- a/config/hypr/shaders/waves.glsl +++ /dev/null @@ -1,18 +0,0 @@ -#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 920971d..b1e039d 100644 --- a/config/hypr/shortcuts.md +++ b/config/hypr/shortcuts.md @@ -50,4 +50,3 @@ | `F7` | Vibrance an/aus (Farben satter) | | `F8` | Graustufen an/aus | | `F9` | Farben invertieren an/aus | -| `F10` | Wellen-Effekt an/aus (animiert, GPU-intensiv) | diff --git a/config/wal/generate.py b/config/wal/generate.py index fbd5baa..c4b6da1 100644 --- a/config/wal/generate.py +++ b/config/wal/generate.py @@ -26,7 +26,7 @@ def rgba(h, a): waybar = f"""/* Generated — edit ~/.active_theme/colors.json */ * {{ - font-family: "MesloLGS Nerd Font Mono", "Font Awesome 7 Free", "Font Awesome 7 Brands", monospace; + font-family: "MesloLGS Nerd Font Mono", "Font Awesome 7 Free Solid", "Font Awesome 7 Brands", monospace; font-size: 11px; font-weight: normal; min-height: 0; @@ -76,6 +76,7 @@ window#waybar.bottom {{ border-radius: 10px; margin: 2px; transition: all 0.2s ease; + font-family: "Font Awesome 7 Brands", "MesloLGS Nerd Font Mono", "Font Awesome 7 Free Solid", monospace; }} #workspaces button:hover {{ diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index 3efa280..f7fd24f 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -29,13 +29,13 @@ "format-window-separator": " ", "window-rewrite-default": "", "window-rewrite": { - "class": "", + "class": "", "class": "", "class": "", "class": "", - "class": "", - "class": "", - "class": "", + "class": "", + "class": "", + "class": "", "class": "", "class": "", "class": "",