From fd9791e633d7f46c7887bc38df9a0955e457f1b93d59e4f79e349cd1ee4fb8f7 Mon Sep 17 00:00:00 2001 From: Mikkel Harboe Arp Henriksen Date: Sun, 15 Jun 2025 22:23:17 +0200 Subject: [PATCH] flere fejl rettelser --- templates/hypr-keys.sh.j2 | 2 +- templates/hyprland.conf.j2 | 16 +++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/templates/hypr-keys.sh.j2 b/templates/hypr-keys.sh.j2 index 568d56e..868102f 100644 --- a/templates/hypr-keys.sh.j2 +++ b/templates/hypr-keys.sh.j2 @@ -4,4 +4,4 @@ # fjerner unødvendige tegn, og viser dem i wofi. grep -oP '^bind\s*=\s*.*' ~/.config/hypr/hyprland.conf | \ sed -e 's/bind = //' -e 's/SUPER/WIN/' | \ -wofi --show dmenu -p "Hyprland Keybindings" \ No newline at end of file +wofi --show dmenu --conf "$HOME/.config/wofi/config" --style "$HOME/.config/wofi/style.css" -p "Hyprland Keybindings" \ No newline at end of file diff --git a/templates/hyprland.conf.j2 b/templates/hyprland.conf.j2 index 9debf58..dda5721 100644 --- a/templates/hyprland.conf.j2 +++ b/templates/hyprland.conf.j2 @@ -58,18 +58,24 @@ general { } decoration { + # Generel dekoration rounding = 3 + # Blur-effekt for gennemsigtighed blur { enabled = true size = 3 passes = 1 + new_optimizations = true } - drop_shadow = yes - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) + # Skygge-effekt omkring vinduer + shadow { + enabled = yes + range = 4 + render_power = 3 + color = 0xee1a1a1a + } } animations { @@ -124,4 +130,4 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 # Vis keybindings i en wofi menu -bind = $mainMod, SPACE, exec, ~/.local/bin/hypr-keys.sh --conf /home/{{ username }}/.config/wofi/config --style /home/{{ username }}/.config/wofi/style.css \ No newline at end of file +bind = $mainMod, SPACE, exec, ~/.local/bin/hypr-keys.sh \ No newline at end of file