Skip to content

Commit

Permalink
adjusted some settings and script for hyprland-git and swww-git
Browse files Browse the repository at this point in the history
  • Loading branch information
JaKooLit committed Nov 24, 2024
1 parent c390028 commit 09297b0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion config/hypr/UserConfigs/UserSettings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ general {
resize_on_border = true

col.active_border = $color12
col.inactive_border = $backgroundCol
col.inactive_border = $background

layout = dwindle
}
Expand Down
6 changes: 3 additions & 3 deletions config/hypr/UserScripts/WallpaperEffects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ iDIR="$HOME/.config/swaync/images"
# swww transition config
FPS=60
TYPE="wipe"
DURATION=2
DURATION=1.5
BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"

Expand Down Expand Up @@ -78,11 +78,11 @@ main() {
# Execute swww command after image conversion
swww img -o "$focused_monitor" "$wallpaper_output" $SWWW_PARAMS &
# Wait for swww command to complete
wait $!
sleep 1.5
# Wait for other commands to finish
wallust run "$wallpaper_output" -s &
# Wait for other commands to finish
wait $!
sleep 0.5
# Refresh rofi, waybar, wallust palettes
"${SCRIPTSDIR}/Refresh.sh"
notify-send -u low -i "$iDIR/bell.png" "$choice effects applied"
Expand Down
4 changes: 2 additions & 2 deletions config/hypr/UserScripts/WallpaperRandom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration

swww query || swww-daemon --format xrgb && swww img -o $focused_monitor ${RANDOMPICS} $SWWW_PARAMS


${scriptsDir}/WallustSwww.sh
sleep 1
${scriptsDir}/WallustSwww.sh
sleep 0.5
${scriptsDir}/Refresh.sh

10 changes: 5 additions & 5 deletions config/hypr/UserScripts/WallpaperSelect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{pri
# swww transition config
FPS=60
TYPE="any"
DURATION=2
DURATION=1.5
BEZIER=".43,1.19,1,.4"
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"

Expand Down Expand Up @@ -69,9 +69,9 @@ main() {
# Random choice case
if [[ "$choice" == "$RANDOM_PIC_NAME" ]]; then
swww img -o "$focused_monitor" "$RANDOM_PIC" $SWWW_PARAMS;
sleep 0.5
sleep 1.5
"$SCRIPTSDIR/WallustSwww.sh"
sleep 0.2
sleep 0.5
"$SCRIPTSDIR/Refresh.sh"
exit 0
fi
Expand Down Expand Up @@ -102,9 +102,9 @@ fi

main

sleep 0.5
sleep 1.5
"$SCRIPTSDIR/WallustSwww.sh"

sleep 0.2
sleep 0.5
"$SCRIPTSDIR/Refresh.sh"

0 comments on commit 09297b0

Please sign in to comment.