From 4a056e45711fe45adf62f03a6ed3acb0ce26b792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dias?= Date: Mon, 29 Jul 2024 20:53:42 -0300 Subject: [PATCH] :gear: add blurring back, add rules to layers --- hyprland/appearance.conf | 5 +++-- hyprland/autostart.conf | 6 ++---- hyprland/rules.conf | 23 ++++++++++++++++++++--- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/hyprland/appearance.conf b/hyprland/appearance.conf index 54a55b0..ec90fce 100644 --- a/hyprland/appearance.conf +++ b/hyprland/appearance.conf @@ -34,10 +34,10 @@ decoration { col.shadow = rgba(1a1a1aee) blur { - enabled = false + enabled = true size = 3 passes = 1 - vibrancy = 0.1696 + vibrancy = 0.9 } } @@ -50,6 +50,7 @@ animations { animation = windows, 1, 5.5, amazingBezier, slide bottom animation = windowsOut, 1, 5, amazingBezier, slide bottom animation = layers, 1, 7, amazingBezier, slide bottom + animation = layersOut, 1, 7, amazingBezier, slide bottom animation = border, 1, 10, default animation = borderangle, 1, 8, default animation = fade, 1, 3.5, default diff --git a/hyprland/autostart.conf b/hyprland/autostart.conf index d4b8d44..3566cf5 100644 --- a/hyprland/autostart.conf +++ b/hyprland/autostart.conf @@ -13,10 +13,8 @@ exec-once = hypridle # Idle daemon for Hyprland exec-once = wl-paste --type text --watch cliphist store # Stores text exec-once = wl-paste --type image --watch cliphist store # Stores images - # Apps -exec-once = /opt/discord/Discord --start-minimized +exec-once = /bin/vesktop --start-minimized # Special -exec-once = /home/joaov/.local/share/scripts/fix-nautilus.sh -exec-once = /bin/systemctl enable --now bluetooth +exec-once = ~/.local/share/scripts/fix-nautilus.sh diff --git a/hyprland/rules.conf b/hyprland/rules.conf index f3222e6..95b6725 100644 --- a/hyprland/rules.conf +++ b/hyprland/rules.conf @@ -8,10 +8,27 @@ # Floating windows windowrulev2 = float, class:moe.launcher.* windowrulev2 = float, title:^(Clapper)$ -windowrulev2 = float, title:^(Resources)$ -windowrulev2 = float, class:^xdg-desktop-portal* +windowrulev2 = float, class:xdg-desktop-portal* +windowrulev2 = float, class:org.pulseaudio.pavucontrol + +# Resize +windowrulev2 = size 50% 50%, class:org.pulseaudio.pavucontrol + +# Moving +windowrulev2 = move 49.27% 7.28%, class:org.pulseaudio.pavucontrol + +# Maximize +windowrulev2 = tile, title:^(Resources)$ # Animations -layerrule = animation fade,selection +windowrulev2 = animation slide right, class:org.pulseaudio.pavucontrol +layerrule = animation slide right, swaync-control-center +layerrule = animation fade, selection +layerrule = animation fade, logout_dialog +layerrule = animation fade, waybar +layerrule = animation fade, hyprpaper + +# Blur +blurls = logout_dialog windowrulev2 = suppressevent maximize, class:.*