Skip to content

Commit 09297b0

Browse files
committed
adjusted some settings and script for hyprland-git and swww-git
1 parent c390028 commit 09297b0

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

config/hypr/UserConfigs/UserSettings.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ general {
2828
resize_on_border = true
2929

3030
col.active_border = $color12
31-
col.inactive_border = $backgroundCol
31+
col.inactive_border = $background
3232

3333
layout = dwindle
3434
}

config/hypr/UserScripts/WallpaperEffects.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ iDIR="$HOME/.config/swaync/images"
1515
# swww transition config
1616
FPS=60
1717
TYPE="wipe"
18-
DURATION=2
18+
DURATION=1.5
1919
BEZIER=".43,1.19,1,.4"
2020
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
2121

@@ -78,11 +78,11 @@ main() {
7878
# Execute swww command after image conversion
7979
swww img -o "$focused_monitor" "$wallpaper_output" $SWWW_PARAMS &
8080
# Wait for swww command to complete
81-
wait $!
81+
sleep 1.5
8282
# Wait for other commands to finish
8383
wallust run "$wallpaper_output" -s &
8484
# Wait for other commands to finish
85-
wait $!
85+
sleep 0.5
8686
# Refresh rofi, waybar, wallust palettes
8787
"${SCRIPTSDIR}/Refresh.sh"
8888
notify-send -u low -i "$iDIR/bell.png" "$choice effects applied"

config/hypr/UserScripts/WallpaperRandom.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration
2121

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

24-
25-
${scriptsDir}/WallustSwww.sh
2624
sleep 1
25+
${scriptsDir}/WallustSwww.sh
26+
sleep 0.5
2727
${scriptsDir}/Refresh.sh
2828

config/hypr/UserScripts/WallpaperSelect.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{pri
1111
# swww transition config
1212
FPS=60
1313
TYPE="any"
14-
DURATION=2
14+
DURATION=1.5
1515
BEZIER=".43,1.19,1,.4"
1616
SWWW_PARAMS="--transition-fps $FPS --transition-type $TYPE --transition-duration $DURATION"
1717

@@ -69,9 +69,9 @@ main() {
6969
# Random choice case
7070
if [[ "$choice" == "$RANDOM_PIC_NAME" ]]; then
7171
swww img -o "$focused_monitor" "$RANDOM_PIC" $SWWW_PARAMS;
72-
sleep 0.5
72+
sleep 1.5
7373
"$SCRIPTSDIR/WallustSwww.sh"
74-
sleep 0.2
74+
sleep 0.5
7575
"$SCRIPTSDIR/Refresh.sh"
7676
exit 0
7777
fi
@@ -102,9 +102,9 @@ fi
102102

103103
main
104104

105-
sleep 0.5
105+
sleep 1.5
106106
"$SCRIPTSDIR/WallustSwww.sh"
107107

108-
sleep 0.2
108+
sleep 0.5
109109
"$SCRIPTSDIR/Refresh.sh"
110110

0 commit comments

Comments
 (0)