From 16621bef0e8e3419f82389ba841b97db40a555b1 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 1 Jan 2024 15:13:32 +0900 Subject: - Breaking Changes. - Quick Edit script moved to user scripts - I understand some users wants to use other editor - RofiBeats moved to user scripts - This is because users wants their own stations :) - RofiBeats keybinds changed to SUPER SHIFT M keybind - Keybinds to change layout SUPER ALT L - Wlogout Script adjusted with 4K. - Wallpaper Scripts are moved to UserScripts. This is because if users has a different location of wallpapers and also wants a different animations --- config/hypr/UserScripts/Wallpaper.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 config/hypr/UserScripts/Wallpaper.sh (limited to 'config/hypr/UserScripts/Wallpaper.sh') diff --git a/config/hypr/UserScripts/Wallpaper.sh b/config/hypr/UserScripts/Wallpaper.sh new file mode 100755 index 00000000..d75d2eab --- /dev/null +++ b/config/hypr/UserScripts/Wallpaper.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +DIR="$HOME/Pictures/wallpapers" +SCRIPTSDIR="$HOME/.config/hypr/scripts" + +PICS=($(find ${DIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \))) +RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]} + + +# Transition config +FPS=60 +TYPE="random" +DURATION=1 +BEZIER=".43,1.19,1,.4" +SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION --transition-bezier $BEZIER" + + +swww query || swww init && swww img ${RANDOMPICS} $SWWW_PARAMS + + +${SCRIPTSDIR}/PywalSwww.sh +sleep 1 +${SCRIPTSDIR}/Refresh.sh + -- cgit v1.2.3