diff --git a/hypr/decorations.conf b/hypr/decorations.conf index 15aa8df..15f29aa 100644 --- a/hypr/decorations.conf +++ b/hypr/decorations.conf @@ -28,7 +28,7 @@ general { #} misc { - animate_manual_resizes = false + animate_manual_resizes = true } decoration { @@ -72,10 +72,10 @@ animations { # Windows animation = windowsIn, 1, 6, myBezier, slide animation = windowsOut, 1, 5, amazingBezier, slide - animation = windowsMove, 1, 4.5, amazingBezier + animation = windowsMove, 1, 4.5, myBezier # Layers - animation = layersIn, 1, 6, layerBezier, slide + animation = layersIn, 1, 6, layerBezier, slide animation = layersOut, 1, 6, layerBezier, slide # Workspaces @@ -83,8 +83,8 @@ animations { # Fade animation = fade, 1, 4, myBezier - animation = fadeLayersIn, 1, 3, layerBezier - animation = fadeLayersOut, 1, 4, layerBezier + animation = fadeLayersIn, 1, 4, layerBezier + animation = fadeLayersOut, 1, 3, layerBezier # Others animation = border, 1, 5.5, amazingBezier diff --git a/hypr/rules.conf b/hypr/rules.conf index 7486ae6..7717de3 100644 --- a/hypr/rules.conf +++ b/hypr/rules.conf @@ -3,9 +3,8 @@ ## RULES ## ############# -# See https://wiki.hyprland.org/Configuring/Window-Rules/ -# and https://wiki.hyprland.org/Configuring/Workspace-Rules/ -# for information on how to configure this +# See https://wiki.hyprland.org/Configuring/Window-Rules for +# more information on how to configure this # Floating windows windowrulev2 = float, class:moe.launcher.* @@ -47,6 +46,7 @@ layerrule = animation slide right, eww-cc layerrule = animation fade, eww-calendar layerrule = animation fade, eww-volume layerrule = animation fade, eww-powermenu +layerrule = animation up, control-center # Opacity windowrulev2 = opacity .95 .95, class:kitty @@ -79,9 +79,6 @@ layerrule = ignorealpha .4, osd layerrule = ignorealpha .55, top-bar layerrule = ignorealpha .5, control-center -# Workspace Rules -#workspace = 1, persistent:true -#workspace = 2, persistent:true # Suppress maximize event from windows windowrulev2 = suppressevent maximize, class:.* diff --git a/hypr/scripts/gen-pywal.sh b/hypr/scripts/gen-pywal.sh index 1e45e06..611c2a8 100644 --- a/hypr/scripts/gen-pywal.sh +++ b/hypr/scripts/gen-pywal.sh @@ -7,13 +7,13 @@ # Made by retrozinndev (João Dias) # From https://github.com/retrozinndev/Hyprland-Dots -wallpaper="$(cat $HOME'/.config/hypr/hyprpaper.conf' | grep '$wallpaper =' | sed -e 's/^$wallpaper = //')" - -if ! [[ -f "$wallpaper" ]]; then +if ! [[ -f "$HOME/.config/hypr/hyprpaper.conf" ]]; then notify-send -a "Wallpaper" "Couldn't load" "Wallpaper file not found! Please check for the wallpaper: $wallpaper." exit 1 fi +wallpaper="$(cat $HOME'/.config/hypr/hyprpaper.conf' | grep '$wallpaper =' | sed -e 's/^$wallpaper = //')" + if [[ -d "$HOME/.cache/wal" ]]; then wal -R else