aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-01-30 00:26:27 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-01-30 00:26:37 +0900
commit54d363a9aec27a9bdd92f857ac2b2253c57a690f (patch)
tree417391d5fb148e89992d6e83ee665152cfda7165
parent1d592f5c591de2d8f079e2018f611065169b2f4f (diff)
updated animations script and removed some animations
-rwxr-xr-xconfig/hypr/UserScripts/Animations.sh6
-rw-r--r--config/hypr/animations/ITZ - diablo-1.conf32
-rw-r--r--config/hypr/animations/ITZ - diablo-2.conf26
-rw-r--r--config/hypr/animations/default - v2.conf27
-rw-r--r--config/rofi/config-Animations.rasi (renamed from config/rofi/config-rofi-Animations.rasi)2
-rwxr-xr-xcopy.sh2
6 files changed, 32 insertions, 63 deletions
diff --git a/config/hypr/UserScripts/Animations.sh b/config/hypr/UserScripts/Animations.sh
index 02755a5e..71368bbe 100755
--- a/config/hypr/UserScripts/Animations.sh
+++ b/config/hypr/UserScripts/Animations.sh
@@ -17,7 +17,7 @@ UserConfigs="$HOME/.config/hypr/UserConfigs"
animations_list=$(find "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//')
# Rofi Menu
-chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config ~/.config/rofi/config-rofi-Animations.rasi "Choose animation:")
+chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config ~/.config/rofi/config-Animations.rasi "Choose animation:")
# Check if a file was selected
if [[ -n "$chosen_file" ]]; then
@@ -26,9 +26,9 @@ if [[ -n "$chosen_file" ]]; then
cp "$full_path" "$UserConfigs/UserAnimations.conf"
- notify-send -i "$iDIR/ja.png" "$chosen_file" "Animation Loaded"
+ notify-send -u low -i "$iDIR/ja.png" "$chosen_file" "Animation Loaded"
else
- notify-send -i "$iDIR/ja.png" "You chose to" "NOT apply other animations"
+ notify-send -u low -i "$iDIR/ja.png" "You chose to" "NOT apply other animations"
fi
sleep 1
diff --git a/config/hypr/animations/ITZ - diablo-1.conf b/config/hypr/animations/ITZ - diablo-1.conf
deleted file mode 100644
index 81d3aa41..00000000
--- a/config/hypr/animations/ITZ - diablo-1.conf
+++ /dev/null
@@ -1,32 +0,0 @@
-# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
-#
-# name "Diablo-1"
-# credit https://github.com/Itz-Abhishek-Tiwari
-
-animations {
- enabled = 1
- bezier = default, 0.05, 0.9, 0.1, 1.05
- bezier = wind, 0.05, 0.9, 0.1, 1.05
- bezier = overshot, 0.13, 0.99, 0.29, 1.08
- bezier = liner, 1, 1, 1, 1
- bezier = bounce, 0.4, 0.9, 0.6, 1.0
- bezier = snappyReturn, 0.4, 0.9, 0.6, 1.0
-
- bezier = slideInFromRight, 0.5, 0.0, 0.5, 1.0
- animation = windows, 1, 5, snappyReturn, slidevert
- animation = windowsIn, 1, 5, snappyReturn, slidevert right
-
- animation = windowsOut, 1, 5, snappyReturn, slide
- animation = windowsMove, 1, 6, bounce, slide
- animation = layersOut, 1, 5, bounce, slidevert right
- animation = fadeIn, 1, 10, default
- animation = fadeOut, 1, 10, default
- animation = fadeSwitch, 1, 10, default
- animation = fadeShadow, 1, 10, default
- animation = fadeDim, 1, 10, default
- animation = fadeLayers, 1, 10, default
- animation = workspaces, 1, 7, overshot, slidevert
- animation = border, 1, 1, liner
- animation = layers, 1, 4, bounce, slidevert right
- animation = borderangle, 1, 30, liner, once
-}
diff --git a/config/hypr/animations/ITZ - diablo-2.conf b/config/hypr/animations/ITZ - diablo-2.conf
deleted file mode 100644
index 4d4b36f7..00000000
--- a/config/hypr/animations/ITZ - diablo-2.conf
+++ /dev/null
@@ -1,26 +0,0 @@
-# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
-#
-# name "Diablo-2"
-# credit https://github.com/Itz-Abhishek-Tiwari
-
-animations {
- enabled = 1
- bezier = default, 0.05, 0.9, 0.1, 1.05
- bezier = wind, 0.05, 0.9, 0.1, 1.05
- bezier = overshot, 0.13, 0.99, 0.29, 1.08
- bezier = liner, 1, 1, 1, 1
- animation = windows, 1, 7, wind, popin
- animation = windowsIn, 1, 7, overshot, popin
- animation = windowsOut, 1, 5, overshot, popin
- animation = windowsMove, 1, 6, overshot, slide
- animation = layers, 1, 5, default, popin
- animation = fadeIn, 1, 10, default
- animation = fadeOut, 1, 10, default
- animation = fadeSwitch, 1, 10, default
- animation = fadeShadow, 1, 10, default
- animation = fadeDim, 1, 10, default
- animation = fadeLayers, 1, 10, default
- animation = workspaces, 1, 7, overshot, slidevert
- animation = border, 1, 1, liner
- animation = borderangle, 1, 30, liner, once
-}
diff --git a/config/hypr/animations/default - v2.conf b/config/hypr/animations/default - v2.conf
new file mode 100644
index 00000000..37fbe125
--- /dev/null
+++ b/config/hypr/animations/default - v2.conf
@@ -0,0 +1,27 @@
+# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
+
+# old animations
+
+animations {
+ enabled = yes
+
+ bezier = myBezier, 0.05, 0.9, 0.1, 1.05
+ bezier = linear, 0.0, 0.0, 1.0, 1.0
+ bezier = wind, 0.05, 0.9, 0.1, 1.05
+ bezier = winIn, 0.1, 1.1, 0.1, 1.1
+ bezier = winOut, 0.3, -0.3, 0, 1
+ bezier = slow, 0, 0.85, 0.3, 1
+ bezier = overshot, 0.7, 0.6, 0.1, 1.1
+ bezier = bounce, 1.1, 1.6, 0.1, 0.85
+ bezier = sligshot, 1, -1, 0.15, 1.25
+ bezier = nice, 0, 6.9, 0.5, -4.20
+
+ animation = windowsIn, 1, 5, slow, popin
+ animation = windowsOut, 1, 5, winOut, popin
+ animation = windowsMove, 1, 5, wind, slide
+ animation = border, 1, 10, linear
+# animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors
+ animation = fade, 1, 5, overshot
+ animation = workspaces, 1, 5, wind
+ animation = windows, 1, 5, bounce, popin
+} \ No newline at end of file
diff --git a/config/rofi/config-rofi-Animations.rasi b/config/rofi/config-Animations.rasi
index d13f7d83..225b7d61 100644
--- a/config/rofi/config-rofi-Animations.rasi
+++ b/config/rofi/config-Animations.rasi
@@ -16,5 +16,5 @@ entry {
/* ---- Listview ---- */
listview {
- lines: 8;
+ lines: 10;
}
diff --git a/copy.sh b/copy.sh
index 1f8f3567..5e85b305 100755
--- a/copy.sh
+++ b/copy.sh
@@ -366,7 +366,7 @@ if [[ "$border_choice" =~ ^[Yy]$ ]]; then
mv config/hypr/UserScripts/RainbowBorders.sh config/hypr/UserScripts/RainbowBorders.bak.sh
sed -i '/exec-once = \$UserScripts\/RainbowBorders.sh \&/s/^/#/' config/hypr/UserConfigs/Startup_Apps.conf
- sed -i '/ animation = borderangle, 1, 180, liner, loop/s/^/#/' config/hypr/UserConfigs/UserDecorAnimations.conf
+ sed -i '/ animation = borderangle, 1, 180, liner, loop/s/^/#/' config/hypr/UserConfigs/UserAnimations.conf
echo "${OK} Rainbow borders is now disabled." 2>&1 | tee -a "$LOG"
else
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage