hypr(scripts): improvements for the "scripts/gen-pywal.sh" script and more

This commit is contained in:
retrozinndev
2025-02-07 16:03:49 -03:00
parent b0bd785ddd
commit 13336069cf
3 changed files with 11 additions and 14 deletions
+4 -4
View File
@@ -28,7 +28,7 @@ general {
#}
misc {
animate_manual_resizes = false
animate_manual_resizes = true
}
decoration {
@@ -72,7 +72,7 @@ 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
@@ -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
+3 -6
View File
@@ -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:.*
+3 -3
View File
@@ -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