Skip to content

Commit 68f3f7e

Browse files
adding rate limit
1 parent 9c7e89a commit 68f3f7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/compact_alt.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ main()
3535
if $verbose; then
3636
echo "$window_width - $narrow"
3737
fi
38+
# storing the refresh rate in the variable RATE, default is 5
39+
RATE=$(get_tmux_option "@dracula-refresh-rate" 5)
40+
sleep $RATE
3841
}
3942

4043
#run main driver program

0 commit comments

Comments
 (0)