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