From e5dc74881ce00eaba324d16f5d9412bab04fe857 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 5 Feb 2025 08:28:55 +0900 Subject: adjusted for ags since it is already optional to install --- config/hypr/scripts/Refresh.sh | 7 ++----- config/hypr/scripts/RefreshNoWaybar.sh | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'config/hypr/scripts') diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index 77ba1496..c8c46695 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -24,11 +24,8 @@ done killall -SIGUSR2 waybar # added since wallust sometimes not applying -# quit ags -ags -q - -# relaunch ags -ags & +# quit ags & relaunch ags +#ags -q && ags & # Kill waybar & swaync (yet again) # added since wallust sometimes not applying _ps2=(waybar swaync) diff --git a/config/hypr/scripts/RefreshNoWaybar.sh b/config/hypr/scripts/RefreshNoWaybar.sh index 11496826..85332a32 100755 --- a/config/hypr/scripts/RefreshNoWaybar.sh +++ b/config/hypr/scripts/RefreshNoWaybar.sh @@ -25,8 +25,8 @@ for _prs in "${_ps[@]}"; do fi done -# quit ags -ags -q +# quit ags & relaunch ags +#ags -q && ags & # Wallust refresh ${SCRIPTSDIR}/WallustSwww.sh & -- cgit v1.2.3 From a60c69be106fcd2bad12bf1a57c9ae7f13a7165c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 5 Feb 2025 09:26:19 +0900 Subject: animations list now alphabetically --- config/hypr/animations/00-default.conf | 26 ++++++++++++++++++++++++++ config/hypr/animations/01-default - v2.conf | 27 +++++++++++++++++++++++++++ config/hypr/animations/03-disabled.conf | 5 +++++ config/hypr/animations/default - v2.conf | 27 --------------------------- config/hypr/animations/default.conf | 26 -------------------------- config/hypr/animations/disabled.conf | 5 ----- config/hypr/scripts/Animations.sh | 6 +++--- copy.sh | 4 ++-- 8 files changed, 63 insertions(+), 63 deletions(-) create mode 100644 config/hypr/animations/00-default.conf create mode 100644 config/hypr/animations/01-default - v2.conf create mode 100644 config/hypr/animations/03-disabled.conf delete mode 100644 config/hypr/animations/default - v2.conf delete mode 100644 config/hypr/animations/default.conf delete mode 100644 config/hypr/animations/disabled.conf (limited to 'config/hypr/scripts') diff --git a/config/hypr/animations/00-default.conf b/config/hypr/animations/00-default.conf new file mode 100644 index 00000000..0f40b5e6 --- /dev/null +++ b/config/hypr/animations/00-default.conf @@ -0,0 +1,26 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # + +animations { + enabled = yes + + 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 = liner, 1, 1, 1, 1 + bezier = overshot, 0.05, 0.9, 0.1, 1.05 + bezier = smoothOut, 0.5, 0, 0.99, 0.99 + bezier = smoothIn, 0.5, -0.5, 0.68, 1.5 + + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 5, winIn, slide + animation = windowsOut, 1, 3, smoothOut, slide + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 1, liner + animation = borderangle, 1, 180, liner, loop #used by rainbow borders and rotating colors + animation = fade, 1, 3, smoothOut + animation = workspaces, 1, 5, overshot + + # animations for -git or version >0.42.0 + animation = workspacesIn, 1, 5, winIn, slide + animation = workspacesOut, 1, 5, winOut, slide +} \ No newline at end of file diff --git a/config/hypr/animations/01-default - v2.conf b/config/hypr/animations/01-default - v2.conf new file mode 100644 index 00000000..dfbbed7f --- /dev/null +++ b/config/hypr/animations/01-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/hypr/animations/03-disabled.conf b/config/hypr/animations/03-disabled.conf new file mode 100644 index 00000000..f73a485b --- /dev/null +++ b/config/hypr/animations/03-disabled.conf @@ -0,0 +1,5 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # + +animations { + enabled = no +} \ No newline at end of file diff --git a/config/hypr/animations/default - v2.conf b/config/hypr/animations/default - v2.conf deleted file mode 100644 index dfbbed7f..00000000 --- a/config/hypr/animations/default - v2.conf +++ /dev/null @@ -1,27 +0,0 @@ -# /* ---- 💫 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/hypr/animations/default.conf b/config/hypr/animations/default.conf deleted file mode 100644 index 0f40b5e6..00000000 --- a/config/hypr/animations/default.conf +++ /dev/null @@ -1,26 +0,0 @@ -# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # - -animations { - enabled = yes - - 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 = liner, 1, 1, 1, 1 - bezier = overshot, 0.05, 0.9, 0.1, 1.05 - bezier = smoothOut, 0.5, 0, 0.99, 0.99 - bezier = smoothIn, 0.5, -0.5, 0.68, 1.5 - - animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 5, winIn, slide - animation = windowsOut, 1, 3, smoothOut, slide - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 1, liner - animation = borderangle, 1, 180, liner, loop #used by rainbow borders and rotating colors - animation = fade, 1, 3, smoothOut - animation = workspaces, 1, 5, overshot - - # animations for -git or version >0.42.0 - animation = workspacesIn, 1, 5, winIn, slide - animation = workspacesOut, 1, 5, winOut, slide -} \ No newline at end of file diff --git a/config/hypr/animations/disabled.conf b/config/hypr/animations/disabled.conf deleted file mode 100644 index f73a485b..00000000 --- a/config/hypr/animations/disabled.conf +++ /dev/null @@ -1,5 +0,0 @@ -# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # - -animations { - enabled = no -} \ No newline at end of file diff --git a/config/hypr/scripts/Animations.sh b/config/hypr/scripts/Animations.sh index 48ac0f85..7789cb05 100755 --- a/config/hypr/scripts/Animations.sh +++ b/config/hypr/scripts/Animations.sh @@ -13,8 +13,8 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts" animations_dir="$HOME/.config/hypr/animations" UserConfigs="$HOME/.config/hypr/UserConfigs" -# list of animation files -animations_list=$(find "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//') +# list of animation files, sorted alphabetically with numbers first +animations_list=$(find "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//' | sort -V) # Rofi Menu chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config ~/.config/rofi/config-Animations.rasi) @@ -32,4 +32,4 @@ else fi sleep 1 -"$SCRIPTSDIR/RefreshNoWaybar.sh" \ No newline at end of file +"$SCRIPTSDIR/RefreshNoWaybar.sh" diff --git a/copy.sh b/copy.sh index 154e2c96..e90fb5bf 100755 --- a/copy.sh +++ b/copy.sh @@ -65,7 +65,7 @@ fi # uncommenting WLR_RENDERER_ALLOW_SOFTWARE,1 if running in a VM is detected if hostnamectl | grep -q 'Chassis: vm'; then - echo "${INFO} System is running in a virtual machine." 2>&1 | tee -a "$LOG" || true + echo "${INFO} System is running in a virtual machine. Setting up proper env's and configs" 2>&1 | tee -a "$LOG" || true # enabling proper ENV's for Virtual Environment which should help sed -i 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)2/\1true/' config/hypr/UserConfigs/UserSettings.conf sed -i '/env = WLR_RENDERER_ALLOW_SOFTWARE,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf @@ -75,7 +75,7 @@ fi # Proper Polkit for NixOS if hostnamectl | grep -q 'Operating System: NixOS'; then - echo "${INFO} NixOS Distro Detected. Setting up properly." 2>&1 | tee -a "$LOG" || true + echo "${INFO} NixOS Distro Detected. Setting up proper env's and configs." 2>&1 | tee -a "$LOG" || true sed -i -E '/^#?exec-once = \$scriptsDir\/Polkit-NixOS\.sh/s/^#//' config/hypr/UserConfigs/Startup_Apps.conf sed -i '/^exec-once = \$scriptsDir\/Polkit\.sh$/ s/^#*/#/' config/hypr/UserConfigs/Startup_Apps.conf fi -- cgit v1.2.3